CVE-2021-4235

Denial of service in gopkg.in/yaml.v2

Published Dec 27, 2022 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3479-1 golang-yaml.v2 security update
EUVD EUVD EUVD-2022-7731 YAML Go package vulnerable to denial of service
Github GHSA Github GHSA GHSA-r88r-gmrh-7j83 YAML Go package vulnerable to denial of service
Ubuntu USN Ubuntu USN USN-6287-1 Go yaml vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 11, 2025, 4:25 PM
Reserved
Jul 29, 2022, 6:56 PM
Status
Modified
Published
Dec 27, 2022, 10:15 PM
Modified
Jun 17, 2026, 4:19 AM
Severity
Moderate
Public date
Dec 27, 2022, 12:00 AM