Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

CVE-2021-29482 (High) detected in github.com/ulikunitz/xz-v0.5.6 #3

Open
mend-bolt-for-github bot opened this issue Aug 20, 2021 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Aug 20, 2021

CVE-2021-29482 - High Severity Vulnerability

Vulnerable Library - github.com/ulikunitz/xz-v0.5.6

Pure golang package for reading and writing xz-compressed files

Library home page: https://proxy.golang.org/github.com/ulikunitz/xz/@v/v0.5.6.zip

Dependency Hierarchy:

  • github.com/hashicorp/terraform-plugin-sdk/helper/schema-v1.2.0 (Root Library)
    • github.com/hashicorp/terraform-plugin-sdk/terraform-v1.2.0
      • github.com/hashicorp/terraform-plugin-sdk/internal/moduledeps-v1.2.0
        • github.com/hashicorp/terraform-plugin-sdk/internal/plugin/discovery-v1.2.0
          • github.com/hashicorp/go-getter-v1.4.0
            • github.com/ulikunitz/xz-v0.5.6 (Vulnerable Library)

Vulnerability Details

xz is a compression and decompression library focusing on the xz format completely written in Go. The function readUvarint used to read the xz container format may not terminate a loop provide malicous input. The problem has been fixed in release v0.5.8. As a workaround users can limit the size of the compressed file input to a reasonable size for their use case. The standard library had recently the same issue and got the CVE-2020-16845 allocated.

Publish Date: 2021-04-28

URL: CVE-2021-29482

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-25xm-hr59-7c27

Release Date: 2021-04-28

Fix Resolution: v0.5.8


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants