ubuntu-cve-2024-35325
Vulnerability from osv_ubuntu
Published
2024-06-13 17:15
Modified
2024-06-13 17:15
Summary
Details

A vulnerability was found in libyaml up to 0.2.5. Affected by this issue is the function yaml_event_delete of the file /src/libyaml/src/api.c. The manipulation leads to a double-free.


{
  "affected": [
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.4-2build1",
        "0.1.4-2ubuntu1",
        "0.1.4-3ubuntu1",
        "0.1.4-3ubuntu2",
        "0.1.4-3ubuntu3",
        "0.1.4-3ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "golang-yaml.v2",
        "purl": "pkg:deb/ubuntu/golang-yaml.v2?arch=src?distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0+git20150627.7ad95dd-1",
        "0.0+git20160301.0.a83829b-1",
        "0.0+git20160301.0.a83829b-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.6-3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libyaml-libyaml-perl",
        "purl": "pkg:deb/ubuntu/libyaml-libyaml-perl?arch=src?distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.41-6",
        "0.41-6build1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "golang-goyaml",
        "purl": "pkg:deb/ubuntu/golang-goyaml?arch=src?distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~bzr50-1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.7-2ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libyaml-libyaml-perl",
        "purl": "pkg:deb/ubuntu/libyaml-libyaml-perl?arch=src?distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.63-2build1",
        "0.69+repack-1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "golang-yaml.v2",
        "purl": "pkg:deb/ubuntu/golang-yaml.v2?arch=src?distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0+git20170407.0.cd8b52f-1ubuntu1",
        "0.0+git20170407.0.cd8b52f-1ubuntu2",
        "0.0+git20170407.0.cd8b52f-1ubuntu2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-yaml.v2",
        "purl": "pkg:deb/ubuntu/golang-yaml.v2?arch=src?distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.2-1",
        "2.2.2-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.2.1-1",
        "0.2.2-1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libyaml-libyaml-perl",
        "purl": "pkg:deb/ubuntu/libyaml-libyaml-perl?arch=src?distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.80+repack-1",
        "0.80+repack-1build1",
        "0.80+repack-2",
        "0.81+repack-1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-yaml.v2",
        "purl": "pkg:deb/ubuntu/golang-yaml.v2?arch=src?distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.0-1",
        "2.4.0-2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.2.2-1",
        "0.2.2-1build1",
        "0.2.2-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libyaml-libyaml-perl",
        "purl": "pkg:deb/ubuntu/libyaml-libyaml-perl?arch=src?distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.82+repack-1build1",
        "0.82+repack-1build2",
        "0.83+ds-1",
        "0.83+ds-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "golang-yaml.v2",
        "purl": "pkg:deb/ubuntu/golang-yaml.v2?arch=src?distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.0-4"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "libyaml",
        "purl": "pkg:deb/ubuntu/libyaml?arch=src?distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.2.5-1",
        "0.2.5-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "libyaml-libyaml-perl",
        "purl": "pkg:deb/ubuntu/libyaml-libyaml-perl?arch=src?distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.86+ds-1",
        "0.89+ds-1",
        "0.89+ds-1build1",
        "0.89+ds-1build2"
      ]
    }
  ],
  "aliases": [],
  "details": "A vulnerability was found in libyaml up to 0.2.5. Affected by this issue is the function yaml_event_delete of the file /src/libyaml/src/api.c. The manipulation leads to a double-free.",
  "id": "UBUNTU-CVE-2024-35325",
  "modified": "2024-06-13T17:15:00Z",
  "published": "2024-06-13T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-35325"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-35325"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35325.c"
    }
  ],
  "related": [
    "CVE-2024-35325"
  ],
  "schema_version": "1.6.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "withdrawn": "2025-06-23T15:58:13Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…