p PatchFirst

PatchFirst · Latest vulnerabilities

php8.1 vulnerabilities · Page 3

Vulnerabilities published for php8.1 in the last 30 days: 2. Listed in the KEV catalogue: 2.

Filter vulnerabilities
Clear filters

Vulnerabilities: 63

  1. CVE-2024-9026

    Low · CVSS 3.3EPSS 0.49%Fix available

    PHP-FPM logs from children may be altered

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters from the log messages by manipulating log message content. Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data using the same vulnerability.

    • Update to 8.1.2-1ubuntu2.19
    Published Updated
  2. CVE-2024-8927

    High · CVSS 7.5EPSS 1.05%Fix available

    cgi.force_redirect configuration is bypassable due to the environment variable collision

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.

    • Update to 8.1.2-1ubuntu2.19
    Published Updated
  3. CVE-2024-8925

    Low · CVSS 3.1EPSS 0.94%Fix available

    Erroneous parsing of multipart form data

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, erroneous parsing of multipart form data contained in an HTTP POST request could lead to legitimate data not being processed. This could lead to malicious attacker able to control part of the submitted data being able to exclude portion of other data, potentially leading to erroneous application behavior.

    • Update to 8.1.2-1ubuntu2.19
    Published Updated
  4. CVE-2024-5458

    Medium · CVSS 5.3EPSS 12.12%Fix available

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.

    • Update to 8.1.2-1ubuntu2.18
    Published Updated
  5. CVE-2024-3096

    Medium · CVSS 6.5EPSS 1.49%Fix available

    PHP function password_verify can erroneously return true when argument contains NUL

    In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

    • Update to 8.1.2-1ubuntu2.17
    Published Updated
  6. CVE-2024-2756

    Medium · CVSS 6.5EPSS 38.12%Fix available

    __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

    Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

    • Update to 8.1.2-1ubuntu2.17
    Published Updated
  7. CVE-2023-3824

    Critical · CVSS 9.4EPSS 21.79%Fix available

    Buffer overflow and overread in phar_dir_read()

    In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

    • Update to 8.1.2-1ubuntu2.14
    Published Updated
  8. CVE-2023-3823

    High · CVSS 8.6EPSS 1.64%Fix available

    Security issue with external entity loading in XML without enabling it

    In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external

    • Update to 8.1.2-1ubuntu2.14
    Published Updated
  9. CVE-2023-3247

    Low · CVSS 2.6EPSS 0.71%Fix available

    Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

    In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce. 

    • Update to 8.1.2-1ubuntu2.13
    Published Updated
  10. CVE-2023-0568

    High · CVSS 7.5EPSS 1.24%Fix available

    Array overrun in common path resolve code

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification.

    • Update to 8.1.2-1ubuntu2.11
    Published Updated
  11. CVE-2023-0662

    High · CVSS 7.5EPSS 1.47%Fix available

    DoS vulnerability when parsing multipart request body

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhausting CPU resources or disk space.

    • Update to 8.1.2-1ubuntu2.11
    Published Updated
  12. CVE-2023-0567

    High · CVSS 7.7EPSS 0.92%Fix available

    password_verify() always returns true for some invalid hashes

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any password for this entry as valid.

    • Update to 8.1.2-1ubuntu2.11
    Published Updated
  13. CVE-2022-31630

    Medium · CVSS 6.5EPSS 1.32%Fix available

    OOB read due to insufficient input validation in imageloadfont()

    In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information. 

    • Update to 8.1.2-1ubuntu2.8
    Published Updated
  14. CVE-2022-31629

    Medium · CVSS 6.5EPSS 49.57%Fix available

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

    • Update to 8.1.2-1ubuntu2.8
    Published Updated
  15. CVE-2022-31626

    High · CVSS 7.5EPSS 58.12%Fix available

    mysqlnd/pdo password buffer overflow

    In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.

    • Update to 8.1.2-1ubuntu2.1
    Published Updated
  16. CVE-2022-31625

    High · CVSS 8.1EPSS 3.79%Fix available

    Freeing unallocated memory in php_pgsql_free_params()

    In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of service.

    • Update to 8.1.2-1ubuntu2.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →