Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-4235

published medium CVSS 3.1 · 5.5

Denial of service in gopkg.in/yaml.v2

Published
27 Dec 2022, 21:13:42 UTC
Updated
11 Apr 2025, 16:25:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gopkg.in/yaml.v2 — gopkg.in/yaml.v20 to < 2.2.3 · Other versions: unaffected Affected Not stated Go
github.com/go-yaml/yaml — github.com/go-yaml/yaml Affected Not stated Go
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian buster golang-yaml.v2 Advisory build 2.2.2-1+deb10u1 DLA-3479-1
Ubuntu bionic golang-gopkg-yaml.v2-dev Advisory build 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 USN-6287-1
Ubuntu bionic golang-yaml.v2 Advisory build 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 USN-6287-1
Ubuntu bionic golang-yaml.v2-dev Advisory build 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 USN-6287-1
Ubuntu focal golang-gopkg-yaml.v2-dev Advisory build 2.2.2-1ubuntu0.1 USN-6287-1
Show 4 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal golang-yaml.v2 Advisory build 2.2.2-1ubuntu0.1 USN-6287-1
Ubuntu focal golang-yaml.v2-dev Advisory build 2.2.2-1ubuntu0.1 USN-6287-1
Ubuntu xenial golang-yaml.v2 Advisory build 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 USN-6287-1
Ubuntu xenial golang-yaml.v2-dev Advisory build 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 USN-6287-1

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.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gopkg.in/yaml.v2 gopkg.in/yaml.v2 0 to < 2.2.3 (affected · semver)Default: unaffected Go · cna
github.com/go-yaml/yaml github.com/go-yaml/yaml Default: affected Go · cna

Weaknesses

1
  • CWE 400: Uncontrolled Resource Consumption (Go · cna)

References

4

Provider assertions

3

Go · cna

Denial of service in gopkg.in/yaml.v2

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
00e085a768a11a98d72dec8ee1b6d795d2df2dab2a58c87bc78df7196d816196
Ingested
23 Sep 2026, 07:57:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected