ubuntu-cve-2024-2757
Vulnerability from osv_ubuntu
Published
2024-04-29 04:15
Modified
2026-04-22 07:47
Summary
Details

In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php8.3",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "libphp8.3-embed",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-bcmath",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-bz2",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-cgi",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-cli",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-common",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-curl",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-dba",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-enchant",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-fpm",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-gd",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-gmp",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-imap",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-interbase",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-intl",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-ldap",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-mbstring",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-mysql",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-odbc",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-opcache",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-pgsql",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-phpdbg",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-pspell",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-readline",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-snmp",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-soap",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-sqlite3",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-sybase",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-tidy",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-xml",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-xsl",
            "binary_version": "8.3.6-0maysync1"
          },
          {
            "binary_name": "php8.3-zip",
            "binary_version": "8.3.6-0maysync1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "php8.3",
        "purl": "pkg:deb/ubuntu/php8.3@8.3.6-0maysync1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8.3.6-0maysync1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.3.0-1",
        "8.3.0-1ubuntu1",
        "8.3.4-1",
        "8.3.4-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "In PHP 8.3.* before 8.3.5, function\u00a0mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.",
  "id": "UBUNTU-CVE-2024-2757",
  "modified": "2026-04-22T07:47:55Z",
  "published": "2024-04-29T04:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-2757"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-2757"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-2757"
  ]
}



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…