Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    RUSTSEC-2018-0005 (GHSA-39VW-QP34-RMWF)

    Vulnerability from osv_rustsec – Published: 2018-09-17 12:00 – Updated: 2023-06-13 13:10 – Source website
    VLAI
    Summary
    Uncontrolled recursion leads to abort in deserialization
    Details

    Affected versions of this crate did not properly check for recursion while deserializing aliases.

    This allows an attacker to make a YAML file with an alias referring to itself causing an abort.

    The flaw was corrected by checking the recursion depth.


    {
      "affected": [
        {
          "database_specific": {
            "categories": [],
            "cvss": null,
            "informational": null
          },
          "ecosystem_specific": {
            "affected_functions": null,
            "affects": {
              "arch": [],
              "functions": [],
              "os": []
            }
          },
          "package": {
            "ecosystem": "crates.io",
            "name": "serde_yaml",
            "purl": "pkg:cargo/serde_yaml"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.6.0-rc1"
                },
                {
                  "fixed": "0.8.4"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": []
        }
      ],
      "aliases": [
        "GHSA-39vw-qp34-rmwf"
      ],
      "database_specific": {
        "license": "CC0-1.0"
      },
      "details": "Affected versions of this crate did not properly check for recursion\nwhile deserializing aliases.\n\nThis allows an attacker to make a YAML file with an alias referring\nto itself causing an abort.\n\nThe flaw was corrected by checking the recursion depth.",
      "id": "RUSTSEC-2018-0005",
      "modified": "2023-06-13T13:10:24Z",
      "published": "2018-09-17T12:00:00Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://crates.io/crates/serde_yaml"
        },
        {
          "type": "ADVISORY",
          "url": "https://rustsec.org/advisories/RUSTSEC-2018-0005.html"
        },
        {
          "type": "WEB",
          "url": "https://github.com/dtolnay/serde-yaml/pull/105"
        }
      ],
      "related": [],
      "severity": [],
      "summary": "Uncontrolled recursion leads to abort in deserialization"
    }