Bug 1208367 (CVE-2023-0662) - VUL-0: CVE-2023-0662: php72,php53,php8,php7,php5,php74: DoS vulnerability when parsing multipart request body
Summary: VUL-0: CVE-2023-0662: php72,php53,php8,php7,php5,php74: DoS vulnerability whe...
Status: RESOLVED FIXED
Alias: CVE-2023-0662
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/357384/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-0662:7.5:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 08:28 UTC by Thomas Leroy
Modified: 2024-05-06 08:11 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leroy 2023-02-16 08:28:26 UTC
CVE-2023-0662

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.

Upstream fix:
https://github.com/php/php-src/commit/716de0cff539f46294ef70fe75d548cd66766370

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-0662
https://www.cve.org/CVERecord?id=CVE-2023-0662
https://github.com/php/php-src/security/advisories/GHSA-54hq-v5wp-fqgv
Comment 1 Thomas Leroy 2023-02-16 08:32:53 UTC
The bug is quite old, so all the maintained codestreams are affected:

SUSE:SLE-11-SP3:Update/php53
SUSE:SLE-15-SP2:Update/php7
SUSE:SLE-15-SP4:Update/php7
SUSE:SLE-15:Update/php7
SUSE:SLE-12:Update/php74
SUSE:SLE-15-SP4:Update/php8
Comment 2 Petr Gajdos 2023-02-17 12:06:48 UTC
Submitted for php8/15sp4, php7/15sp4, php7/15sp2, php7/15, 12/php74, 11sp3/php53.

I believe all fixed.
Comment 4 Maintenance Automation 2023-02-22 12:30:02 UTC
SUSE-SU-2023:0476-1: An update that solves four vulnerabilities can now be installed.

Category: security (important)
Bug References: 1206958, 1208366, 1208367, 1208388
CVE References: CVE-2022-31631, CVE-2023-0567, CVE-2023-0568, CVE-2023-0662
Sources used:
openSUSE Leap 15.4 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): php7-7.4.33-150200.3.51.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): php7-7.4.33-150200.3.51.1
SUSE Manager Server 4.2 (src): php7-7.4.33-150200.3.51.1
SUSE Enterprise Storage 7.1 (src): php7-7.4.33-150200.3.51.1
SUSE Enterprise Storage 7 (src): php7-7.4.33-150200.3.51.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2023-02-24 16:30:09 UTC
SUSE-SU-2023:0515-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1208366, 1208367, 1208388
CVE References: CVE-2023-0567, CVE-2023-0568, CVE-2023-0662
Sources used:
Web and Scripting Module 12 (src): php74-7.4.33-1.53.1
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): php74-7.4.33-1.53.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2023-02-24 16:30:13 UTC
SUSE-SU-2023:0514-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1208366, 1208367, 1208388
CVE References: CVE-2023-0567, CVE-2023-0568, CVE-2023-0662
Sources used:
openSUSE Leap 15.4 (src): php7-7.2.34-150000.4.109.1
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): php7-7.2.34-150000.4.109.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): php7-7.2.34-150000.4.109.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): php7-7.2.34-150000.4.109.1
SUSE CaaS Platform 4.0 (src): php7-7.2.34-150000.4.109.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-02-24 16:30:17 UTC
SUSE-SU-2023:0513-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1208366, 1208367, 1208388
CVE References: CVE-2023-0567, CVE-2023-0568, CVE-2023-0662
Sources used:
openSUSE Leap 15.4 (src): php7-test-7.4.33-150400.4.19.1, php7-embed-7.4.33-150400.4.19.1, php7-fpm-7.4.33-150400.4.19.1, php7-7.4.33-150400.4.19.1, apache2-mod_php7-7.4.33-150400.4.19.1, php7-fastcgi-7.4.33-150400.4.19.1
Legacy Module 15-SP4 (src): php7-fpm-7.4.33-150400.4.19.1, apache2-mod_php7-7.4.33-150400.4.19.1, php7-7.4.33-150400.4.19.1, php7-fastcgi-7.4.33-150400.4.19.1
SUSE Package Hub 15 15-SP4 (src): php7-embed-7.4.33-150400.4.19.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2023-02-27 16:30:03 UTC
SUSE-SU-2023:0527-1: An update that solves two vulnerabilities can now be installed.

Category: security (important)
Bug References: 1208366, 1208367
CVE References: CVE-2023-0568, CVE-2023-0662
Sources used:
openSUSE Leap 15.4 (src): apache2-mod_php8-8.0.28-150400.4.26.1, php8-8.0.28-150400.4.26.1, php8-test-8.0.28-150400.4.26.1, php8-embed-8.0.28-150400.4.26.1, php8-fastcgi-8.0.28-150400.4.26.1, php8-fpm-8.0.28-150400.4.26.1
Web and Scripting Module 15-SP4 (src): apache2-mod_php8-8.0.28-150400.4.26.1, php8-8.0.28-150400.4.26.1, php8-test-8.0.28-150400.4.26.1, php8-embed-8.0.28-150400.4.26.1, php8-fastcgi-8.0.28-150400.4.26.1, php8-fpm-8.0.28-150400.4.26.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 OBSbugzilla Bot 2023-10-26 10:36:04 UTC
This is an autogenerated message for OBS integration:
This bug (1208367) was mentioned in
https://build.opensuse.org/request/show/1120490 Backports:SLE-15-SP5 / php81
Comment 10 Robert Frohl 2024-05-06 08:11:32 UTC
done, closing