Skip to content

CVE-2021-4235 (Medium) detected in github.com/go-yaml/yaml-v2.2.2 #39

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-4235 - Medium Severity Vulnerability

Vulnerable Library - github.com/go-yaml/yaml-v2.2.2

YAML support for the Go language.

Dependency Hierarchy:

  • github.com/kubernetes/client-go-v2.0.0 (Root Library)
    • github.com/kubernetes/client-go/pkg/api/unversioned-v2.0.0
      • github.com/go-openapi/spec-0.15.0
        • github.com/go-openapi/swag-v0.19.2
          • github.com/go-yaml/yaml-v2.2.2 (Vulnerable Library)

Vulnerability Details

Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

Publish Date: 2022-12-27

URL: CVE-2021-4235

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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

Release Date: 2022-12-27

Fix Resolution: v2.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions