rustsec-2023-0004
Vulnerability from osv_rustsec
Published
2023-01-09 12:00
Modified
2023-02-04 13:29
Summary
bzip2 Denial of Service (DoS)
Details

Working with specific payloads can cause a Denial of Service (DoS) vector.

Both Decompress and Compress implementations can enter into infinite loops given specific payloads entered that trigger it.

The issue is described in great detail in the bzip2 repository issue.

Thanks to bjrjk for finding and providing the patch for the issue and the maintainer responsibly responding to release a fix quickly.

Users who use the crate with untrusted data should update the bzip2 to 0.4.4.


{
  "affected": [
    {
      "database_specific": {
        "categories": [
          "denial-of-service"
        ],
        "cvss": null,
        "informational": null
      },
      "ecosystem_specific": {
        "affected_functions": null,
        "affects": {
          "arch": [],
          "functions": [],
          "os": []
        }
      },
      "package": {
        "ecosystem": "crates.io",
        "name": "bzip2",
        "purl": "pkg:cargo/bzip2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.0.0-0"
            },
            {
              "fixed": "0.4.4"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": []
    }
  ],
  "aliases": [
    "CVE-2023-22895",
    "GHSA-96jv-r488-c2rj"
  ],
  "database_specific": {
    "license": "CC0-1.0"
  },
  "details": "Working with specific payloads can cause a Denial of Service (DoS) vector.\n\nBoth `Decompress` and `Compress` implementations can enter into infinite loops\ngiven specific payloads entered that trigger it.\n\nThe issue is described in great detail in the [bzip2 repository issue](https://github.com/alexcrichton/bzip2-rs/pull/86).\n\nThanks to bjrjk for finding and providing the patch for the issue and the\nmaintainer responsibly responding to release a fix quickly.\n\nUsers who use the crate with untrusted data should update the `bzip2` to 0.4.4.",
  "id": "RUSTSEC-2023-0004",
  "modified": "2023-02-04T13:29:07Z",
  "published": "2023-01-09T12:00:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://crates.io/crates/bzip2"
    },
    {
      "type": "ADVISORY",
      "url": "https://rustsec.org/advisories/RUSTSEC-2023-0004.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/alexcrichton/bzip2-rs/pull/86"
    }
  ],
  "related": [],
  "severity": [],
  "summary": "bzip2 Denial of Service (DoS)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…