{
  "schema_version": "1.4.0",
  "id": "GHSA-g9v3-gh27-qjh3",
  "modified": "2022-10-16T19:00:30Z",
  "published": "2022-05-24T19:10:21Z",
  "aliases": [
    "CVE-2021-29922"
  ],
  "details": "library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29922"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rust-lang/rust/issues/83648"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rust-lang/rust/pull/83652"
    },
    {
      "type": "WEB",
      "url": "https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis"
    },
    {
      "type": "WEB",
      "url": "https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/202210-09"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "CRITICAL",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-08-07T17:15:00Z"
  }
}