Security readout for executives and security teams
Plain-English summary
This flaw can let a malicious YAML file make software using go-yaml consume excessive resources and become unavailable. The business impact is service disruption, not data theft or code execution, based on the supplied sources.
Executive priority
Treat as a moderate availability risk. Prioritize externally reachable or automation-critical systems that parse untrusted YAML, especially CI, import, configuration, or document-processing workflows.
Technical view
CVE-2021-4235 is a denial-of-service issue in go-yaml/yaml.v2 caused by unbounded alias chasing while parsing YAML. The CVSS 3.1 score is 5.5, with high availability impact and no stated confidentiality or integrity impact.
Likely exposure
Exposure is most likely where Go applications parse YAML from users, uploads, repositories, configuration pipelines, or other untrusted sources. Internal-only tooling may still be affected if it processes attacker-controlled files.
Exploitation context
The bundle does not show CISA KEV listing or cited active exploitation. Exploitation requires a crafted YAML document being parsed by an affected component; the provided CVSS vector indicates local attack vector and required user interaction.
Researcher notes
The source evidence supports denial of service through alias handling, with no sourced claim of code execution or active exploitation. Version and remediation details should be confirmed from GO-2021-0061 and upstream go-yaml guidance before closure.
Mitigation direction
- Inventory Go projects using go-yaml/yaml.v2 or gopkg.in/yaml.v2.
- Check Go vulnerability database and vendor guidance for fixed versions.
- Update affected dependencies according to vendor guidance.
- Avoid parsing untrusted YAML where possible.
- Apply input size and resource limits around YAML processing.
Validation and detection
- Search dependency manifests for go-yaml/yaml and gopkg.in/yaml.v2.
- Confirm resolved versions against GO-2021-0061 vendor guidance.
- Identify code paths parsing YAML from user-controlled sources.
- Review service monitoring for YAML parsing resource spikes.
- Confirm DoS controls exist for upload or config ingestion paths.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-4235 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H1.83.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.5MediumVector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/go-yaml/yaml/pull/375CVE reference
- https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241CVE reference
- https://pkg.go.dev/vuln/GO-2021-0061CVE reference
- https://lists.debian.org/debian-lts-announce/2023/07/msg00001.htmlCVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
