PYSEC-2024-328

Vulnerability from pysec - Published: 2024-04-17 19:15 - Updated: 2026-07-27 10:47
VLAI
Details

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Impacted products
Name purl
torch-npu pkg:pypi/torch-npu
Aliases

{
  "affected": [
    {
      "ecosystem_specific": {},
      "package": {
        "ecosystem": "PyPI",
        "name": "torch-npu",
        "purl": "pkg:pypi/torch-npu"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0",
        "2.1.0.post10",
        "2.1.0.post12",
        "2.1.0.post13",
        "2.1.0.post17",
        "2.1.0.post3",
        "2.1.0.post6",
        "2.1.0.post8",
        "2.1.0rc1",
        "2.2.0rc1"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-31580"
  ],
  "details": "PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.",
  "id": "PYSEC-2024-328",
  "modified": "2026-07-27T10:47:37.328229Z",
  "published": "2024-04-17T19:15:07.783Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…