Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2021-4235

Summary
Assigner-Go
Assigner Org ID-1bb62c36-49e3-4200-9d77-64a1400537cc
Published At-27 Dec, 2022 | 21:13
Updated At-11 Apr, 2025 | 16:25
Rejected At-
Credits

Denial of service in gopkg.in/yaml.v2

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Go
Assigner Org ID:1bb62c36-49e3-4200-9d77-64a1400537cc
Published At:27 Dec, 2022 | 21:13
Updated At:11 Apr, 2025 | 16:25
Rejected At:
▼CVE Numbering Authority (CNA)
Denial of service in gopkg.in/yaml.v2

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.

Affected Products
Vendor
gopkg.in/yaml.v2
Product
gopkg.in/yaml.v2
Collection URL
https://pkg.go.dev
Package Name
gopkg.in/yaml.v2
Program Routines
  • decoder.unmarshal
  • Decoder.Decode
  • Unmarshal
  • UnmarshalStrict
Default Status
unaffected
Versions
Affected
  • From 0 before 2.2.3 (semver)
Vendor
github.com/go-yaml/yaml
Product
github.com/go-yaml/yaml
Collection URL
https://pkg.go.dev
Package Name
github.com/go-yaml/yaml
Program Routines
  • decoder.unmarshal
  • Decoder.Decode
  • Unmarshal
  • UnmarshalStrict
Default Status
affected
Problem Types
TypeCWE IDDescription
N/AN/ACWE 400: Uncontrolled Resource Consumption
Type: N/A
CWE ID: N/A
Description: CWE 400: Uncontrolled Resource Consumption
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

@simonferquel
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/go-yaml/yaml/pull/375
N/A
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
N/A
https://pkg.go.dev/vuln/GO-2021-0061
N/A
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
N/A
Hyperlink: https://github.com/go-yaml/yaml/pull/375
Resource: N/A
Hyperlink: https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2021-0061
Resource: N/A
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
Resource: N/A
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/go-yaml/yaml/pull/375
x_transferred
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
x_transferred
https://pkg.go.dev/vuln/GO-2021-0061
x_transferred
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
x_transferred
Hyperlink: https://github.com/go-yaml/yaml/pull/375
Resource:
x_transferred
Hyperlink: https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Resource:
x_transferred
Hyperlink: https://pkg.go.dev/vuln/GO-2021-0061
Resource:
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
Resource:
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security@golang.org
Published At:27 Dec, 2022 | 22:15
Updated At:11 Apr, 2025 | 17:15

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Secondary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Type: Primary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Type: Secondary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CPE Matches

yaml_project
yaml_project
>>yaml>>Versions before 2.2.3(exclusive)
cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*
Weaknesses
CWE IDTypeSource
NVD-CWE-noinfoPrimarynvd@nist.gov
CWE ID: NVD-CWE-noinfo
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241security@golang.org
Patch
Third Party Advisory
https://github.com/go-yaml/yaml/pull/375security@golang.org
Exploit
Patch
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.htmlsecurity@golang.org
N/A
https://pkg.go.dev/vuln/GO-2021-0061security@golang.org
Third Party Advisory
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241af854a3a-2127-422b-91ae-364da2661108
Patch
Third Party Advisory
https://github.com/go-yaml/yaml/pull/375af854a3a-2127-422b-91ae-364da2661108
Exploit
Patch
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.htmlaf854a3a-2127-422b-91ae-364da2661108
N/A
https://pkg.go.dev/vuln/GO-2021-0061af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Hyperlink: https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Source: security@golang.org
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/go-yaml/yaml/pull/375
Source: security@golang.org
Resource:
Exploit
Patch
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
Source: security@golang.org
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2021-0061
Source: security@golang.org
Resource:
Third Party Advisory
Hyperlink: https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/go-yaml/yaml/pull/375
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Exploit
Patch
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2021-0061
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found