CVE-2022-28948
gopkg.in/yaml.v3 Denial of Service
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
CVE-2022-28948- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
CVE-2022-28948- Updated
- 2026-11-02
EUVDEUVD-2022-4183 No score
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
EUVD-2022-4183- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hp87-p4gw-j4gq
7.5
gopkg.in/yaml.v3 Denial of Service
An issue in the Unmarshal function in Go-Yaml v3 can cause a program to panic when attempting to deserialize invalid input.
- Record
GHSA-hp87-p4gw-j4gq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-28948
7.5
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
ALPINE-CVE-2022-28948- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVAZL-31966
7.5
CVE-2022-28948 affecting package kured for versions less than 1.13.2-1
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
AZL-31966- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 16 moreShow less
OSVDEBIAN-CVE-2022-28948
7.5
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
DEBIAN-CVE-2022-28948- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVGHSA-hp87-p4gw-j4gq
7.5
gopkg.in/yaml.v3 Denial of Service
An issue in the Unmarshal function in Go-Yaml v3 can cause a program to panic when attempting to deserialize invalid input.
- Record
GHSA-hp87-p4gw-j4gq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-28948
7.5
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
UBUNTU-CVE-2022-28948- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Record
CVE-2022-28948- Updated
- 2026-11-02
OSVGO-2022-0603 No score
Panic in gopkg.in/yaml.v3
An issue in the Unmarshal function can cause a program to panic when attempting to deserialize invalid input.
- Record
GO-2022-0603- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0319-1 No score
Security update for coredns
This update for coredns fixes the following issues:
Update to version 1.11.3:
- optimize the performance for high qps (#6767)
- bump deps
- Fix zone parser error handling (#6680)
- Add alternate option to forward plugin (#6681)
- fix: plugin/file: return error when parsing the file fails (#6699)
- [fix:documentation] Clarify autopath README (#6750)
- Fix outdated test (#6747)
- Bump go version from 1.21.8 to 1.21.11 (#6755)
- Generate zplugin.go correctly with third-party plugins (#6692)
- dnstap: uses pointer receiver for small response writer (#6644)
- chore: fix function name in comment (#6608)
- [plugin/forward] Strip local zone from IPV6 nameservers (#6635)
- fixes CVE-2023-30464
- fixes CVE-2023-28452
Update to upstream head (git commit #5a52707):
- bump deps to address security issue CVE-2024-22189
- Return RcodeServerFailure when DNS64 has no next plugin (#6590)
- add plusserver to adopters (#6565)
- Change the log flags to be a variable that can be set prior to calling Run (#6546)
- Enable Prometheus native histograms (#6524)
- forward: respect context (#6483)
- add client labels to k8s plugin metadata (#6475)
- fix broken link in webpage (#6488)
- Repo controlled Go version (#6526)
- removed the mutex locks with atomic bool (#6525)
Update to version 1.11.2:
- rewrite: fix multi request concurrency issue in cname rewrite (#6407)
- plugin/tls: respect the path specified by root plugin (#6138)
- plugin/auto: warn when auto is unable to read elements of the directory tree (#6333)
- fix: make the codeowners link relative (#6397)
- plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351)
- plugin/cache: key cache on Checking Disabled (CD) bit (#6354)
- Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395)
- Add PITS Global Data Recovery Services as an adopter (#6304)
- Handle UDP responses that overflow with TC bit with test case (#6277)
- plugin/rewrite: add rcode as a rewrite option (#6204)
-
CVE-2024-0874: coredns: CD bit response is cached and served later
-
Update to version 1.11.1:
- Revert “plugin/forward: Continue waiting after receiving malformed responses
- plugin/dnstap: add support for “extra” field in payload
- plugin/cache: fix keepttl parsing
-
Update to version 1.11.0:
- Adds support for accepting DNS connections over QUIC (doq).
- Adds CNAME target rewrites to the rewrite plugin.
- Plus many bug fixes, and some security improvements.
- This release introduces the following backward incompatible changes:
- In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, since all supported K8s versions now use Endpointslice.
- The bufsize plugin changed its default size limit value to 1232
- Some changes to forward plugin metrics.
-
Update to version 1.10.1:
- Corrected architecture labels in multi-arch image manifest
- A new plugin timeouts that allows configuration of server listener timeout durations
- acl can drop queries as an action
- template supports creating responses with extended DNS errors
- New weighted policy in loadbalance
- Option to serve original record TTLs from cache
-
Update to version 1.10.0:
- core: add log listeners for k8s_event plugin (#5451)
- core: log DoH HTTP server error logs in CoreDNS format (#5457)
- core: warn when domain names are not in RFC1035 preferred syntax (#5414)
- plugin/acl: add support for extended DNS errors (#5532)
- plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602)
- plugin/cache: add cache disable option (#5540)
- plugin/cache: add metadata for wildcard record responses (#5308)
- plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320)
- plugin/cache: correct responses to Authenticated Data requests (#5191)
- plugin/dnstap: add identity and version support for the dnstap plugin (#5555) *…
- Record
openSUSE-SU-2024:0319-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12490-1 No score
coredns-1.10.0-1.1 on GA media
These are all security issues fixed in the coredns-1.10.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12490-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15510-1 No score
traefik2-2.11.29-1.1 on GA media
These are all security issues fixed in the traefik2-2.11.29-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15510-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15529-1 No score
traefik-3.5.1-1.1 on GA media
These are all security issues fixed in the traefik-3.5.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15529-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12166-1 No score
percona-toolkit-3.7.1.4-1.1 on GA media
These are all security issues fixed in the percona-toolkit-3.7.1.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12166-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21457-1 No score
Security update for hawk-apiserver
This update for hawk-apiserver fixes the following issues:
Changes in hawk-apiserver:
- Bump ClusterLabs/go-pacemaker v0.0.0-20260609131737-256130b189e0 (bsc#1267454)
Version 0.1.0+git.1773234993.db3c82f:
- handle /cib/live/primitives/<resource_id>/edit in hawk-apiserver
-
Bump github.com/stretchr/testify.v1.11.0 and gopkg.in/yaml.v3.0.1 (bsc#1248563 CVE-2022-28948)
-
Dev: use the newest go-pacemaker and updated ToString (bsc#1237259)
- Record
openSUSE-SU-2026:21457-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02998-1 No score
Security update for ignition
This update for ignition fixes the following issues:
- CVE-2022-28948: Fixed an issue during unmarshaling in Go-Yaml v3 can lead to DoS via invalid input (bsc#1248548)
- Record
SUSE-SU-2025:02998-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02999-1 No score
Security update for ignition
This update for ignition fixes the following issues:
- CVE-2022-28948: Fixed an issue during unmarshaling in Go-Yaml v3 can lead to DoS via invalid input (bsc#1248548)
- Record
SUSE-SU-2025:02999-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03000-1 No score
Security update for ignition
This update for ignition fixes the following issues:
- CVE-2022-28948: Fixed an issue during unmarshaling in Go-Yaml v3 can lead to DoS via invalid input (bsc#1248548)
- Record
SUSE-SU-2025:03000-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03001-1 No score
Security update for ignition
This update for ignition fixes the following issues:
- CVE-2022-28948: Fixed an issue during unmarshaling in Go-Yaml v3 can lead to DoS via invalid input (bsc#1248548)
- Record
SUSE-SU-2025:03001-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:22997-1 No score
Security update for hawk-apiserver
This update for hawk-apiserver fixes the following issues:
Changes in hawk-apiserver:
- Bump ClusterLabs/go-pacemaker v0.0.0-20260609131737-256130b189e0 (bsc#1267454)
Version 0.1.0+git.1773234993.db3c82f:
- handle /cib/live/primitives/<resource_id>/edit in hawk-apiserver
-
Bump github.com/stretchr/testify.v1.11.0 and gopkg.in/yaml.v3.0.1 (bsc#1248563 CVE-2022-28948)
-
Dev: use the newest go-pacemaker and updated ToString (bsc#1237259)
- Record
SUSE-SU-2026:22997-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gopkg.in/yaml.v3Go |
before 3.0.1 | 3.0.1 |
corednsAlpine:v3.16 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.17 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.18 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.19 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.20 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.21 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.22 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.23 |
before 1.9.3-r0 | 1.9.3-r0 |
corednsAlpine:v3.24 |
before 1.9.3-r0 | 1.9.3-r0 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
kuredAzure Linux:2 |
before 1.13.2-1 | 1.13.2-1 |
golang-gopkg-yaml.v3Debian:12 |
before 3.0.1-1 | 3.0.1-1 |
golang-gopkg-yaml.v3Debian:13 |
before 3.0.1-1 | 3.0.1-1 |
golang-gopkg-yaml.v3Debian:14 |
before 3.0.1-1 | 3.0.1-1 |
gopkg.in/yaml.v3Go |
before 3.0.0-20220521103104-8f96da9f5d5e | 3.0.0-20220521103104-8f96da9f5d5e |
ignitionSUSE:Linux Enterprise Micro 5.1 |
before 2.14.0-150300.4.16.1 | 2.14.0-150300.4.16.1 |
ignitionSUSE:Linux Enterprise Micro 5.3 |
before 2.14.0-150400.4.12.1 | 2.14.0-150400.4.12.1 |
ignitionSUSE:Linux Enterprise Micro 5.2 |
before 2.14.0-150300.6.16.1 | 2.14.0-150300.6.16.1 |
ignitionSUSE:Linux Enterprise Module for HPC 15 SP6 |
before 2.14.0-150400.9.12.1 | 2.14.0-150400.9.12.1 |
ignitionSUSE:Linux Enterprise Module for HPC 15 SP7 |
before 2.14.0-150400.9.12.1 | 2.14.0-150400.9.12.1 |
ignitionopenSUSE:Leap 15.6 |
before 2.14.0-150400.9.12.1 | 2.14.0-150400.9.12.1 |
hawk-apiserverSUSE:Linux Enterprise High Availability Extension 16.0 |
before 0.1.0+git.1781014483.1c464f2-160000.1.1 | 0.1.0+git.1781014483.1c464f2-160000.1.1 |
snapdUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.91.9.1.11.9.22.02.0.1 Show 45 moreShow less2.0.22.0.32.0.52.0.82.0.92.0.102.11+0.16.042.12+0.16.042.132.14.2~16.042.15.2ubuntu12.16ubuntu32.17.1ubuntu12.20.1ubuntu12.212.22.22.22.32.22.62.23.12.24.12.252.26.102.27.52.28.52.29.4.22.32.3.22.32.92.33.1ubuntu22.34.22.34.2ubuntu0.12.37.42.37.4ubuntu0.12.382.39.22.39.2ubuntu0.22.402.42.12.45.12.45.1ubuntu0.22.46.12.47.12.482.48.32.54.3+16.04~esm22.54.3+16.04.0ubuntu0.1~esm3 |
None known |
snapdUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.28.5+17.102.29.4.1+18.042.29.4.2+18.042.31.1+18.042.32+18.04~pre5 Show 37 moreShow less2.32+18.04~pre62.32+18.042.32.3.2+18.042.32.5+18.042.32.8+18.042.32.9+18.042.33.1+18.04ubuntu22.34.2+18.042.34.2+18.04.12.37.1+18.042.37.1.1+18.042.37.4+18.042.37.4+18.04.12.38+18.042.39.2+18.042.40+18.042.42.1+18.042.45.1+18.042.45.1+18.04.22.46.1+18.042.47.1+18.042.48+18.042.48.3+18.042.49.2+18.042.51.1+18.042.54.2+18.04ubuntu12.54.3+18.042.54.3+18.04.2ubuntu0.12.54.3+18.04.2ubuntu0.22.55.5+18.042.57.5+18.042.57.5+18.04ubuntu0.12.58+18.042.58+18.04.12.61.4ubuntu0.18.04.1+esm12.61.4ubuntu0.18.04.1+esm22.61.4ubuntu0.18.04.1+esm4 |
None known |
snapdUbuntu:20.04:LTS |
before 2.63+20.04ubuntu0.1, plus listed versions 2.41+19.10.12.42.1+20.042.43.3+git1.8109f82.44~pre1+20.042.44+20.04 Show 24 moreShow less2.44.2+20.042.44.3+20.042.45.1+20.042.45.1+20.04.22.46.1+20.042.47.1+20.042.48+20.042.48.3+20.042.49.2+20.042.51.1+20.04ubuntu22.54.2+20.04ubuntu22.54.3+20.042.54.3+20.04.12.54.3+20.04.1ubuntu0.12.54.3+20.04.1ubuntu0.22.54.3+20.04.1ubuntu0.32.55.5+20.042.57.5+20.042.57.5+20.04ubuntu0.12.58+20.042.58+20.04.12.61.3+20.042.62+20.042.63+20.04 |
2.63+20.04ubuntu0.1 |
golang-gopkg-yaml.v3Ubuntu:22.04:LTS |
All versions, plus listed versions 3.0.0~git20200121.a6ecf24-33.0.0~git20210107.496545a-1 |
None known |
snapdUbuntu:22.04:LTS |
before 2.63+22.04ubuntu0.1, plus listed versions 2.53+21.10ubuntu12.54.2+22.04ubuntu12.54.2+22.04ubuntu22.54.2+22.04ubuntu32.54.3+git19.g868fc21+22.04 Show 15 moreShow less2.54.3+git26.g360067e+22.042.55.2+22.042.55.2+22.04.12.55.3+22.042.55.3+22.04ubuntu12.55.5+22.042.56.2+22.04ubuntu12.57.4+22.042.57.5+22.042.57.5+22.04ubuntu0.12.58+22.042.58+22.04.12.61.3+22.042.62+22.042.63+22.04 |
2.63+22.04ubuntu0.1 |
snapdUbuntu:24.04:LTS |
before 2.62+24.04build1, plus listed versions 2.60.4+23.102.61.3+24.04 |
2.62+24.04build1 |
corednsSUSE:Package Hub 15 SP6 From an advisory covering 6 CVEs |
before 1.11.3-bp156.4.3.1 | 1.11.3-bp156.4.3.1 |
corednsopenSUSE:Leap 15.6 From an advisory covering 6 CVEs |
before 1.11.3-bp156.4.3.1 | 1.11.3-bp156.4.3.1 |
corednsopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.10.0-1.1 | 1.10.0-1.1 |
traefik2openSUSE:Tumbleweed |
before 2.11.29-1.1 | 2.11.29-1.1 |
traefikopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 3.5.1-1.1 | 3.5.1-1.1 |
percona-toolkitopenSUSE:Tumbleweed From an advisory covering 10 CVEs |
before 3.7.1.4-1.1 | 3.7.1.4-1.1 |
hawk-apiserveropenSUSE:Leap 16.0 |
before 0.1.0+git.1781014483.1c464f2-160000.1.1 | 0.1.0+git.1781014483.1c464f2-160000.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-28948 is a high vulnerability (CVSS 7.5) in Yaml Project Yaml, published May 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.96%, the 90th percentile. Fixed in gopkg.in/yaml.v3 3.0.1.
References
github.com/go-yaml/yaml/issues/666
security.netapp.com/advisory/ntap-20220923-0006
nvd.nist.gov/vuln/detail/CVE-2022-28948
github.com/go-yaml/yaml/commit/8f96da9f5d5eff988554c1aae1784627c4bf6754
github.com/go-yaml/yaml/issues/665
github.com/go-yaml/yaml/commit/f6f7691b1fdeb513f56608cd2c32c51f8194bf51
Show 34 moreShow less
github.com/advisories/GHSA-hp87-p4gw-j4gq
security.alpinelinux.org/vuln/CVE-2022-28948
github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28948.json
security-tracker.debian.org/tracker/CVE-2022-28948
github.com/go-yaml/yaml
suse.com/support/update/announcement/2025/suse-su-202502998-1
bugzilla.suse.com/1248548
suse.com/security/cve/CVE-2022-28948
suse.com/support/update/announcement/2025/suse-su-202502999-1
suse.com/support/update/announcement/2025/suse-su-202503000-1
suse.com/support/update/announcement/2025/suse-su-202503001-1
suse.com/support/update/announcement/2026/suse-su-202622997-1
bugzilla.suse.com/1237259
bugzilla.suse.com/1248563
bugzilla.suse.com/1267454
ubuntu.com/security/CVE-2022-28948
security.snyk.io/vuln/SNYK-GOLANG-GOPKGINYAMLV2-2840885
cve.org/CVERecord?id=CVE-2022-28948
lists.opensuse.org/archives/list/[email protected]/thread/2JLUFKCHWHJJ2MQ6XRREF7D4OOWB23V2
suse.com/security/cve/CVE-2022-27191
suse.com/security/cve/CVE-2023-28452
suse.com/security/cve/CVE-2023-30464
suse.com/security/cve/CVE-2024-0874
suse.com/security/cve/CVE-2024-22189
suse.com/security/cve/CVE-2024-28180
suse.com/security/cve/CVE-2026-25680
suse.com/security/cve/CVE-2026-25681
suse.com/security/cve/CVE-2026-33814
suse.com/security/cve/CVE-2026-39820
suse.com/security/cve/CVE-2026-39821
suse.com/security/cve/CVE-2026-39829
suse.com/security/cve/CVE-2026-39835
suse.com/security/cve/CVE-2026-42502
suse.com/security/cve/CVE-2026-46595
Left out here: 6 versions and the rest of 1 source description. The JSON record has them.