{
  "cveId": "CVE-2021-29922",
  "url": "https://patchblox.com/security/cve/CVE-2021-29922",
  "summary": "CVE-2021-29922 is fixed in 19 products on 1 platform, first by libstd-rust-1.53 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1, released August 7, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "rustfmt: Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and...",
  "description": "Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries. \n\nThe following packages have been upgraded to a later upstream version: rust (1.54.0). (BZ#1945805)\n\nSecurity Fix(es):\n\n* rust: incorrect parsing of extraneous zero characters at the beginning of an IP address string (CVE-2021-29922)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.",
  "published": "2021-08-07T10:15:00Z",
  "severity": "Moderate",
  "cvss": 9.1,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
  "epss": 0.02452,
  "epssPercentile": 0.84495,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "cargo",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo-doc",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo-doc",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "clippy",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "clippy",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libstd-rust-1.53",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "libstd-rust-1.53 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libstd-rust-1.53-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libstd-rust-1.53",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "libstd-rust-1.53 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libstd-rust-1.53-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rls",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rls",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust",
      "release": "rocky 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B678\u002Bcf7bc64b",
      "fix": "RLSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2021-4270",
      "released": "2021-11-09T08:54:06Z"
    },
    {
      "platform": "linux",
      "product": "rust-all",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rust-all 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rust-all-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-all",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rust-all 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rust-all-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-analysis",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-analysis",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-clippy",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rust-clippy 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rust-clippy-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-clippy",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rust-clippy 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rust-clippy-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-debugger-common",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-debugger-common",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-doc",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-doc",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-gdb",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-gdb",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rust-gdb 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rust-gdb-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-gdb",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rust-gdb 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rust-gdb-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-gdb",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-lldb",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-lldb",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rust-lldb 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rust-lldb-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-lldb",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rust-lldb 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rust-lldb-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-lldb",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-src",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-src",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rust-src 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rust-src-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-src",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rust-src 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rust-src-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-src",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static-wasm32-unknown-unknown",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static-wasm32-unknown-unknown",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-toolset",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-1.module\u002Bel8.5.0\u002B12195\u002Beffd8a03",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-toolset",
      "release": "almalinux 8",
      "fixedVersion": "1.54.0-1.module_el8.5.0\u002B2599\u002Bd655d86c",
      "fix": "ALSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/alsa-2021-4270",
      "released": "2021-11-09T08:54:06Z"
    },
    {
      "platform": "linux",
      "product": "rust-toolset",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-1.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-toolset",
      "release": "rocky 8",
      "fixedVersion": "0:1.54.0-1.module\u002Bel8.5.0\u002B678\u002Bcf7bc64b",
      "fix": "RLSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2021-4270",
      "released": "2021-11-09T08:54:06Z"
    },
    {
      "platform": "linux",
      "product": "rustc",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rustc 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rustc-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rustc",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rustc 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rustc-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt",
      "release": "RHEL 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B12254\u002Bdc27bae9",
      "fix": "RHSA-2021:4270",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4270",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "fix": "rustfmt 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1~20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-rustfmt-1.53.0-dfsg1-llvm-4ubuntu1-20.04.1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "fix": "rustfmt 1.53.0\u002Bdfsg1\u002Bllvm-4ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-rustfmt-1.53.0-dfsg1-llvm-4ubuntu1",
      "released": "2021-08-07T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt",
      "release": "ol 8",
      "fixedVersion": "0:1.54.0-2.module\u002Bel8.5.0\u002B20381\u002B6e029bfc",
      "fix": "ELSA-2021-4270",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4270",
      "released": "2021-11-16T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}