7.5
CWE
400
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-3064: Excessive resource consumption in gopkg.in/yaml.v2

First published: Mon Aug 29 2022(Updated: )

A flaw was found in go-yaml. This issue causes the consumption of excessive amounts of CPU or memory when attempting to parse a large or maliciously crafted YAML document.

Credit: security@golang.org security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
redhat/etcd<0:3.3.23-12.el8
0:3.3.23-12.el8
redhat/etcd<0:3.4.14-3.el9
0:3.4.14-3.el9
ubuntu/golang-yaml.v2<2.2.4
2.2.4
ubuntu/golang-yaml.v2<0.0+
0.0+
ubuntu/golang-yaml.v2<2.2.2-1ubuntu0.1
2.2.2-1ubuntu0.1
ubuntu/golang-yaml.v2<0.0+
0.0+
Yaml Project Yaml<2.2.4
<2.2.4
go/gopkg.in/yaml.v2<2.2.4
2.2.4
redhat/gopkg.in/yaml.v2<2.2.4
2.2.4
debian/golang-yaml.v2<=2.2.2-1
2.2.2-1+deb10u1
2.4.0-1
2.4.0-4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2022-3064?

    CVE-2022-3064 is a vulnerability that can cause the consumption of excessive amounts of CPU or memory when attempting to parse a large or maliciously crafted YAML document.

  • What is the severity of CVE-2022-3064?

    The severity of CVE-2022-3064 is high, with a CVSS score of 7.5.

  • Which software is affected by CVE-2022-3064?

    The affected software includes go-yaml version up to 2.2.4, golang-yaml.v2 up to version 2.2.4 on Ubuntu, golang-yaml.v2 version up to 2.2.2-1ubuntu0.1 on Ubuntu Focal, golang-yaml.v2 version up to 0.0+ on Ubuntu Xenial, golang-yaml.v2 version up to 0.0+ on Ubuntu Bionic, golang-yaml.v2 version up to 2.2.2-1 on Debian, gopkg.in/yaml.v2 version up to 2.2.4 on Red Hat, etcd version up to 3.3.23-12.el8 on Red Hat, etcd version up to 3.4.14-3.el9 on Red Hat, and gopkg.in/yaml.v2 version up to 2.2.4 on Go.

  • How can I fix CVE-2022-3064 in go-yaml version up to 2.2.4?

    To fix CVE-2022-3064 in go-yaml, you should update to version 2.2.4 or later.

  • Where can I find more information about CVE-2022-3064?

    You can find more information about CVE-2022-3064 at the following references: [Link 1](https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5), [Link 2](https://github.com/go-yaml/yaml/releases/tag/v2.2.4), [Link 3](https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203