CVE-2021-4235 Denial of service in gopkg.in/yaml.v2
MediumCVSS 5.5
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gopkg.in/yaml.v2(Go) | < 2.2.3 | 2.2.3 |
| go-yaml github.com/go-yaml/yaml(Go) | <= 2.1.0 | No fix listed |
| go-yaml github.com/go-yaml/yaml(Go) | All versions | No fix listed |
| debian/golang-yaml.v2(Debian:12) | < 2.2.8-1 | 2.2.8-1 |
| debian/golang-yaml.v2(Debian:13) | < 2.2.8-1 | 2.2.8-1 |
| debian/golang-yaml.v2(Debian:14) | < 2.2.8-1 | 2.2.8-1 |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:22.04) | All versions | No fix listed |
| yaml project yaml | < 2.2.3 | 2.2.3 |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/singularity-container(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/singularity-container(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:16.04) | < 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 | 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:16.04) | = 0.0+git20150627.7ad95dd-1 | No fix listed |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:16.04) | = 0.0+git20160301.0.a83829b-1 | No fix listed |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:18.04) | < 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 | 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:18.04) | = 0.0+git20170407.0.cd8b52f-1ubuntu1 | No fix listed |
| ubuntu/golang-yaml.v2(Ubuntu:Pro:18.04) | = 0.0+git20170407.0.cd8b52f-1ubuntu2 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.3.1-2 | No fix listed |
Show 48 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.3.2-1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.4.1-1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.4.2-2 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.4.2-3 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.4.2-4 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:18.04) | = 2.4.2-4ubuntu0.1~esm1 | No fix listed |
| ubuntu/webhook(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:18.04) | = 2.5.0-1 | No fix listed |
| ubuntu/webhook(Ubuntu:18.04) | = 2.5.0-2 | No fix listed |
| ubuntu/golang-yaml.v2(Ubuntu:20.04) | < 2.2.2-1ubuntu0.1 | 2.2.2-1ubuntu0.1 |
| ubuntu/golang-yaml.v2(Ubuntu:20.04) | = 2.2.2-1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:20.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-1 | No fix listed |
| ubuntu/webhook(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:20.04) | = 2.6.9-1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:22.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4 | No fix listed |
| ubuntu/webhook(Ubuntu:22.04) | = 2.6.9-1build2 | No fix listed |
| ubuntu/webhook(Ubuntu:22.04) | = 2.8.0-3 | No fix listed |
| ubuntu/webhook(Ubuntu:22.04) | = 2.8.0-3ubuntu0.1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:24.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4build1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:24.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:24.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:24.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3 | No fix listed |
| ubuntu/webhook(Ubuntu:24.04) | = 2.8.0-4build1 | No fix listed |
| ubuntu/webhook(Ubuntu:24.04) | = 2.8.0-4ubuntu0.24.04.1 | No fix listed |
| ubuntu/webhook(Ubuntu:24.04) | = 2.8.0-4ubuntu0.24.04.2 | No fix listed |
| ubuntu/webhook(Ubuntu:24.04) | = 2.8.0-4ubuntu0.24.04.3 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1build1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.2 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.2+esm1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.3 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.3+esm1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:Pro:24.04) | = 4.1.1+ds2-1ubuntu0.3+esm2 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:25.10) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4build1 | No fix listed |
| ubuntu/singularity-container(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/singularity-container(Ubuntu:25.10) | = 4.1.5+ds4-1 | No fix listed |
| ubuntu/webhook(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/webhook(Ubuntu:25.10) | = 2.8.0-4build1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:26.10) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4build2 | No fix listed |
| ubuntu/webhook(Ubuntu:26.10) | = 2.8.0-4build1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:26.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4build1 | No fix listed |
| ubuntu/golang-github-coreos-discovery-etcd-io(Ubuntu:26.04) | = 2.0.0+git2019.04.19.git.78fb45d3c9-4build2 | No fix listed |
| ubuntu/singularity-container(Ubuntu:26.04) | = 4.1.5+ds4-1 | No fix listed |
| ubuntu/webhook(Ubuntu:26.04) | = 2.8.0-4build1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com product
- lists.debian.org
- pkg.go.dev issue-tracking third-party-advisory
- Debian Security Tracker CVE-2021-4235 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6287-1 vendor-advisory
- www.cve.org issue-tracking