fkie_cve-2024-7592
Vulnerability from fkie_nvd
Published
2024-08-19 19:15
Modified
2025-02-05 21:13
Summary
There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.
Impacted products
Vendor Product Version
python python *
python python *
python python *
python python *
python python *
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0
python python 3.13.0



{
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "B475FA53-D1F3-44C8-80CD-0CEA88129109",
                     versionEndExcluding: "3.8.20",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "9365E878-106E-49B6-98FC-9FA339CD5216",
                     versionEndExcluding: "3.9.20",
                     versionStartIncluding: "3.9.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "BFD756EB-DF07-4485-A2AA-59FBD7260A21",
                     versionEndExcluding: "3.10.15",
                     versionStartIncluding: "3.10.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "9EE0E5D8-452F-4862-9C23-23AC1DDEFB1E",
                     versionEndExcluding: "3.11.10",
                     versionStartIncluding: "3.11.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "5D4E662B-59E4-495E-941E-2246D2168B42",
                     versionEndExcluding: "3.12.6",
                     versionStartIncluding: "3.12.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha0:*:*:*:*:*:*",
                     matchCriteriaId: "3BA51E41-D221-431F-870F-536AF2867B50",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha1:*:*:*:*:*:*",
                     matchCriteriaId: "978582FF-B8F3-479F-AE77-359E9AEE6F23",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha2:*:*:*:*:*:*",
                     matchCriteriaId: "84E3F62C-7218-4DC3-8473-8A576739643A",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha3:*:*:*:*:*:*",
                     matchCriteriaId: "1FD15706-B8BC-4801-9F93-06771F2E12C1",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha4:*:*:*:*:*:*",
                     matchCriteriaId: "0FDC359F-E8ED-4777-83FB-1EC63F095CBF",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha5:*:*:*:*:*:*",
                     matchCriteriaId: "6893BDDE-4D90-4592-8701-C6B3FFEB0CFE",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:alpha6:*:*:*:*:*:*",
                     matchCriteriaId: "E316F712-F03A-4378-8192-D1640819698B",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:beta1:*:*:*:*:*:*",
                     matchCriteriaId: "8566F034-27CB-422E-950B-DCAA926CF64F",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:beta2:*:*:*:*:*:*",
                     matchCriteriaId: "EACCE6C3-7701-4966-9D88-E949C82FCA46",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:beta3:*:*:*:*:*:*",
                     matchCriteriaId: "A4853BF2-9C27-465F-9840-5B37013C9F74",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:beta4:*:*:*:*:*:*",
                     matchCriteriaId: "B266541A-E877-4CAD-A1EF-08A069441F36",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:python:python:3.13.0:rc1:*:*:*:*:*:*",
                     matchCriteriaId: "8384A34C-50CD-439C-A2BB-DEA6161342C1",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "There is a LOW severity vulnerability affecting CPython, specifically the\n'http.cookies' standard library module.\n\n\nWhen parsing cookies that contained backslashes for quoted characters in\nthe cookie value, the parser would use an algorithm with quadratic\ncomplexity, resulting in excess CPU resources being used while parsing the\nvalue.",
      },
      {
         lang: "es",
         value: "Existe una vulnerabilidad de gravedad BAJA que afecta a CPython, específicamente al módulo de librería estándar 'http.cookies'. Al analizar cookies que contenían barras invertidas para caracteres entrecomillados en el valor de la cookie, el analizador usaría un algoritmo con complejidad cuadrática, lo que resultaría en un exceso de recursos de CPU que se usarían al analizar el valor.",
      },
   ],
   id: "CVE-2024-7592",
   lastModified: "2025-02-05T21:13:47.837",
   metrics: {
      cvssMetricV31: [
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "HIGH",
               baseScore: 7.5,
               baseSeverity: "HIGH",
               confidentialityImpact: "NONE",
               integrityImpact: "NONE",
               privilegesRequired: "NONE",
               scope: "UNCHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
               version: "3.1",
            },
            exploitabilityScore: 3.9,
            impactScore: 3.6,
            source: "nvd@nist.gov",
            type: "Primary",
         },
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "HIGH",
               baseScore: 7.5,
               baseSeverity: "HIGH",
               confidentialityImpact: "NONE",
               integrityImpact: "NONE",
               privilegesRequired: "NONE",
               scope: "UNCHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
               version: "3.1",
            },
            exploitabilityScore: 3.9,
            impactScore: 3.6,
            source: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            type: "Secondary",
         },
      ],
   },
   published: "2024-08-19T19:15:08.180",
   references: [
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774",
      },
      {
         source: "cna@python.org",
         tags: [
            "Patch",
         ],
         url: "https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1",
      },
      {
         source: "cna@python.org",
         tags: [
            "Exploit",
            "Issue Tracking",
            "Patch",
         ],
         url: "https://github.com/python/cpython/issues/123067",
      },
      {
         source: "cna@python.org",
         tags: [
            "Issue Tracking",
            "Patch",
         ],
         url: "https://github.com/python/cpython/pull/123075",
      },
      {
         source: "cna@python.org",
         tags: [
            "Mailing List",
         ],
         url: "https://mail.python.org/archives/list/security-announce@python.org/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://security.netapp.com/advisory/ntap-20241018-0006/",
      },
   ],
   sourceIdentifier: "cna@python.org",
   vulnStatus: "Analyzed",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-400",
            },
         ],
         source: "cna@python.org",
         type: "Secondary",
      },
      {
         description: [
            {
               lang: "en",
               value: "CWE-1333",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.