SUSE-SU-2024:2481-1

Vulnerability from csaf_suse - Published: 2024-07-15 09:30 - Updated: 2026-09-20 15:59
Summary
Security update for python-black
Severity
Important
Notes
Title of the patch: Security update for python-black
Description of the patch: This update for python-black fixes the following issues: Updated to version 24.3.0: - CVE-2024-21503: Fixed a performance downgrade on docstrings that contain large numbers of leading tab characters (bsc#1221530).
Patchnames: SUSE-2024-2481,openSUSE-SLE-15.6-2024-2481
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: openSUSE Leap 15.6:python311-black-0:24.3.0-150400.9.8.1.noarch —
Vendor Fix
Threats
Impact important

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for python-black",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for python-black fixes the following issues:\n\nUpdated to version 24.3.0:\n\n- CVE-2024-21503: Fixed a performance downgrade on docstrings that\n  contain large numbers of leading tab characters (bsc#1221530).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2024-2481,openSUSE-SLE-15.6-2024-2481",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2481-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2024:2481-1",
        "url": "https://www.suse.com/support/update/announcement/2024/suse-su-20242481-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2024:2481-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2024-July/035995.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1221530",
        "url": "https://bugzilla.suse.com/1221530"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2024-21503 page",
        "url": "https://www.suse.com/security/cve/CVE-2024-21503/"
      }
    ],
    "title": "Security update for python-black",
    "tracking": {
      "current_release_date": "2026-09-20T15:59:35Z",
      "generator": {
        "date": "2024-07-15T09:30:04Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2024:2481-1",
      "initial_release_date": "2024-07-15T09:30:04Z",
      "revision_history": [
        {
          "date": "2024-07-15T09:30:04Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-09-20T15:59:35Z",
          "number": "2",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python311-black-0:24.3.0-150400.9.8.1.noarch",
                "product": {
                  "name": "python311-black-0:24.3.0-150400.9.8.1.noarch",
                  "product_id": "python311-black-0:24.3.0-150400.9.8.1.noarch",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:python:black:24.3.0:*:*:*:*:python:*:*",
                    "purl": "pkg:rpm/suse/python311-black@24.3.0-150400.9.8.1?arch=noarch\u0026upstream=python-black-0:24.3.0-150400.9.8.1.src.rpm"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.6",
                "product": {
                  "name": "openSUSE Leap 15.6",
                  "product_id": "openSUSE Leap 15.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python311-black-0:24.3.0-150400.9.8.1.noarch as component of openSUSE Leap 15.6",
          "product_id": "openSUSE Leap 15.6:python311-black-0:24.3.0-150400.9.8.1.noarch"
        },
        "product_reference": "python311-black-0:24.3.0-150400.9.8.1.noarch",
        "relates_to_product_reference": "openSUSE Leap 15.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-21503",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2024-21503"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this vulnerability by crafting a malicious input that causes a denial of service.\r\rExploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.6:python311-black-0:24.3.0-150400.9.8.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2024-21503",
          "url": "https://www.suse.com/security/cve/CVE-2024-21503"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1221530 for CVE-2024-21503",
          "url": "https://bugzilla.suse.com/1221530"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.6:python311-black-0:24.3.0-150400.9.8.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 15.6:python311-black-0:24.3.0-150400.9.8.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2024-07-15T09:30:04Z",
          "details": "important"
        }
      ],
      "title": "CVE-2024-21503"
    }
  ]
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…