GHSA-2WQ5-G96F-MV3V

Vulnerability from github – Published: 2024-09-23 20:47 – Updated: 2024-09-23 20:47
VLAI?
Summary
Ouch! allows a segmentation fault due to use of uninitialized memory
Details

When trying to decompress a file using "ouch", we can reach the function "ouch::archive::zip::convert_zip_date_time". In the function, there is a unsafe function, "transmute". Once the "transmute" function is called to convert the type of "month" object, the address of the object is changed to the uninitialized memory region. After that, when other function tries to dereference "month", segmentation fault occurs.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "ouch"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-23T20:47:27Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "When trying to decompress a file using \"ouch\", we can reach the function \"ouch::archive::zip::convert_zip_date_time\". In the function, there is a unsafe function, \"transmute\". Once the \"transmute\" function is called to convert the type of \"month\" object, the address of the object is changed to the uninitialized memory region. After that, when other function tries to dereference \"month\", segmentation fault occurs.",
  "id": "GHSA-2wq5-g96f-mv3v",
  "modified": "2024-09-23T20:47:27Z",
  "published": "2024-09-23T20:47:27Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ouch-org/ouch/issues/707"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ouch-org/ouch"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2024-0374.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ouch! allows a segmentation fault due to use of uninitialized memory"
}


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…