GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

USN-5905-1 (UBUNTU-CVE-2022-31628)

Vulnerability from osv_ubuntu – Published: 2023-03-02 12:20 – Updated: 2026-06-25 10:46 – Source website
VLAI
Summary
php7.0 vulnerabilities
Details

It was discovered that PHP incorrectly handled certain gzip files. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-31628)

It was discovered that PHP incorrectly handled certain cookies. An attacker could possibly use this issue to compromise data integrity. (CVE-2022-31629)

It was discovered that PHP incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash or execute arbitrary code. (CVE-2022-31631)

It was discovered that PHP incorrectly handled resolving long paths. A remote attacker could possibly use this issue to obtain or modify sensitive information. (CVE-2023-0568)

It was discovered that PHP incorrectly handled a large number of field and file parts in HTTP form uploads. A remote attacker could possibly use this issue to cause PHP to consume resources, leading to a denial of service. (CVE-2023-0662)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-31628",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-31629",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-31631",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2023-0568",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2023-0662",
              "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": "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"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php7.0",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "libphp7.0-embed",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-bcmath",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-bz2",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-cgi",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-cli",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-common",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-curl",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-dba",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-enchant",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-fpm",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-gd",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-gmp",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-imap",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-interbase",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-intl",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-json",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-ldap",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-mbstring",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-mcrypt",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-mysql",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-odbc",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-opcache",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-pgsql",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-phpdbg",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-pspell",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-readline",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-recode",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-snmp",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-soap",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-sqlite3",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-sybase",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-tidy",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-xml",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-xmlrpc",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-xsl",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          },
          {
            "binary_name": "php7.0-zip",
            "binary_version": "7.0.33-0ubuntu0.16.04.16+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "php7.0",
        "purl": "pkg:deb/ubuntu/php7.0@7.0.33-0ubuntu0.16.04.16+esm5?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.33-0ubuntu0.16.04.16+esm5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.1-5",
        "7.0.1-6",
        "7.0.2-1",
        "7.0.2-3",
        "7.0.2-4",
        "7.0.2-5",
        "7.0.3-2",
        "7.0.3-3",
        "7.0.3-9ubuntu1",
        "7.0.4-5ubuntu1",
        "7.0.4-5ubuntu2",
        "7.0.4-7ubuntu1",
        "7.0.4-7ubuntu2",
        "7.0.4-7ubuntu2.1",
        "7.0.8-0ubuntu0.16.04.1",
        "7.0.8-0ubuntu0.16.04.2",
        "7.0.8-0ubuntu0.16.04.3",
        "7.0.13-0ubuntu0.16.04.1",
        "7.0.15-0ubuntu0.16.04.1",
        "7.0.15-0ubuntu0.16.04.2",
        "7.0.15-0ubuntu0.16.04.4",
        "7.0.18-0ubuntu0.16.04.1",
        "7.0.22-0ubuntu0.16.04.1",
        "7.0.25-0ubuntu0.16.04.1",
        "7.0.28-0ubuntu0.16.04.1",
        "7.0.30-0ubuntu0.16.04.1",
        "7.0.32-0ubuntu0.16.04.1",
        "7.0.33-0ubuntu0.16.04.1",
        "7.0.33-0ubuntu0.16.04.2",
        "7.0.33-0ubuntu0.16.04.3",
        "7.0.33-0ubuntu0.16.04.4",
        "7.0.33-0ubuntu0.16.04.5",
        "7.0.33-0ubuntu0.16.04.6",
        "7.0.33-0ubuntu0.16.04.7",
        "7.0.33-0ubuntu0.16.04.9",
        "7.0.33-0ubuntu0.16.04.11",
        "7.0.33-0ubuntu0.16.04.12",
        "7.0.33-0ubuntu0.16.04.14",
        "7.0.33-0ubuntu0.16.04.15",
        "7.0.33-0ubuntu0.16.04.16",
        "7.0.33-0ubuntu0.16.04.16+esm1",
        "7.0.33-0ubuntu0.16.04.16+esm2",
        "7.0.33-0ubuntu0.16.04.16+esm3",
        "7.0.33-0ubuntu0.16.04.16+esm4"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that PHP incorrectly handled certain gzip files.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2022-31628)\n\nIt was discovered that PHP incorrectly handled certain cookies.\nAn attacker could possibly use this issue to compromise data integrity.\n(CVE-2022-31629)\n\nIt was discovered that PHP incorrectly handled certain inputs.\nAn attacker could possibly use this issue to cause a crash or\nexecute arbitrary code. (CVE-2022-31631)\n\nIt was discovered that PHP incorrectly handled resolving long paths. A\nremote attacker could possibly use this issue to obtain or modify sensitive\ninformation. (CVE-2023-0568)\n\nIt was discovered that PHP incorrectly handled a large number of field and file\nparts in HTTP form uploads. A remote attacker could possibly use this issue to\ncause PHP to consume resources, leading to a denial of service. (CVE-2023-0662)\n",
  "id": "USN-5905-1",
  "modified": "2026-06-25T10:46:10Z",
  "published": "2023-03-02T12:20:45Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5905-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-31628"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-31629"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-31631"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-0568"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-0662"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "php7.0 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2022-31628",
    "UBUNTU-CVE-2022-31629",
    "UBUNTU-CVE-2022-31631",
    "UBUNTU-CVE-2023-0568",
    "UBUNTU-CVE-2023-0662"
  ]
}



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…

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…