Bug 1202593 - (CVE-2022-35252) VUL-0: CVE-2022-35252: curl: control code in cookie denial of service
(CVE-2022-35252)
VUL-0: CVE-2022-35252: curl: control code in cookie denial of service
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/340372/
CVSSv3.1:SUSE:CVE-2022-35252:3.7:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-22 06:54 UTC by Robert Frohl
Modified: 2022-10-26 14:03 UTC (History)
3 users (show)

See Also:
Found By: ---
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.
Comment 4 Pedro Monreal Gonzalez 2022-08-23 21:00:31 UTC
I think, all the SLE codestreams have been submitted. I'll update to the next version in Factory once available in the CRD.
Comment 5 Thomas Leroy 2022-08-31 07:00:57 UTC
Public in oss-sec ML:

CVE-2022-35252: control code in cookie denial of service
========================================================

Project curl Security Advisory, August 31 2022 -
[Permalink](https://curl.se/docs/CVE-2022-35252.html)

VULNERABILITY
-------------

When curl retrieves and parses cookies from an HTTP(S) server, it accepts
cookies using control codes (byte values below 32). When cookies that contain
such control codes are later sent back to an HTTP(S) server, it might make the
server return a 400 response. Effectively allowing a "sister site" to deny
service to siblings.

We are not aware of any exploit of this flaw.

INFO
----

This flaw in the code was initially introduced in curl 4.9 but HTTP(S) servers
back then did not generally reject requests using control codes so this
mistake did not actually cause problems until HTTP(S) servers started doing
this much later. Different server implementations of course doing it at
different times (with some also still accepting them just fine).

The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2022-35252 to this issue.

CWE-1286: Improper Validation of Syntactic Correctness of Input

Severity: Low

AFFECTED VERSIONS
-----------------

- Affected versions: curl 4.9 to and including 7.84.0
- Not affected versions: curl < 4.9 and curl >= 7.85.0

libcurl is used by many applications, but not always advertised as such!

THE SOLUTION
------------

[fix for CVE-2022-35252](https://github.com/curl/curl/commit/8dfc93e573ca740544a2d79ebb)

RECOMMENDATIONS
--------------

  A - Upgrade curl to version 7.85.0

  B - Apply the patch to your local version

  C - Do not enable the cookie engine

TIMELINE
--------

This issue was reported to the curl project on June 26, 2022. We contacted
distros@openwall on August 22.

libcurl 7.85.0 was released on August 31 2022, coordinated with the
publication of this advisory.

CREDITS
-------

- Reported-by: Axel Chong
- Patched-by: Daniel Stenberg

Thanks a lot!
Comment 6 Pedro Monreal Gonzalez 2022-08-31 11:55:31 UTC
Factory submission: https://build.opensuse.org/request/show/1000435
Comment 8 Swamp Workflow Management 2022-09-02 16:20:22 UTC
SUSE-SU-2022:3004-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1202593
CVE References: CVE-2022-35252
JIRA References: 
Sources used:
openSUSE Leap Micro 5.2 (src):    curl-7.66.0-150200.4.39.1
openSUSE Leap 15.3 (src):    curl-7.66.0-150200.4.39.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    curl-7.66.0-150200.4.39.1
SUSE Linux Enterprise Micro 5.2 (src):    curl-7.66.0-150200.4.39.1
SUSE Linux Enterprise Micro 5.1 (src):    curl-7.66.0-150200.4.39.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 Swamp Workflow Management 2022-09-02 16:21:05 UTC
SUSE-SU-2022:3005-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1202593
CVE References: CVE-2022-35252
JIRA References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    curl-7.60.0-11.46.1
SUSE Linux Enterprise Server 12-SP5 (src):    curl-7.60.0-11.46.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 10 Swamp Workflow Management 2022-09-02 16:22:51 UTC
SUSE-SU-2022:3003-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1202593
CVE References: CVE-2022-35252
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    curl-7.79.1-150400.5.6.1
SUSE Linux Enterprise Module for Basesystem 15-SP4 (src):    curl-7.79.1-150400.5.6.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 16 Swamp Workflow Management 2022-10-26 13:39:57 UTC
SUSE-SU-2022:3774-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1202593,1204383
CVE References: CVE-2022-32221,CVE-2022-35252
JIRA References: 
Sources used:
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise Server for SAP 15 (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise Server 15-LTSS (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    curl-7.60.0-150000.38.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    curl-7.60.0-150000.38.1
SUSE Enterprise Storage 6 (src):    curl-7.60.0-150000.38.1
SUSE CaaS Platform 4.0 (src):    curl-7.60.0-150000.38.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 17 Swamp Workflow Management 2022-10-26 14:03:46 UTC
SUSE-SU-2022:3772-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1202593,1204383
CVE References: CVE-2022-32221,CVE-2022-35252
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    curl-7.60.0-4.43.1
SUSE OpenStack Cloud 9 (src):    curl-7.60.0-4.43.1
SUSE Linux Enterprise Server for SAP 12-SP4 (src):    curl-7.60.0-4.43.1
SUSE Linux Enterprise Server 12-SP4-LTSS (src):    curl-7.60.0-4.43.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.