csaf2cusa/cvrfs/2023/cvrf-openEuler-SA-2023-1515.xml
Jia Chao 0b84f3c661 增加测试用的配置和目录
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
2024-07-02 15:51:55 +08:00

158 lines
13 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
<DocumentTitle xml:lang="en">An update for python-werkzeug is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 and openEuler-22.03-LTS-SP2</DocumentTitle>
<DocumentType>Security Advisory</DocumentType>
<DocumentPublisher Type="Vendor">
<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
<IssuingAuthority>openEuler security committee</IssuingAuthority>
</DocumentPublisher>
<DocumentTracking>
<Identification>
<ID>openEuler-SA-2023-1515</ID>
</Identification>
<Status>Final</Status>
<Version>1.0</Version>
<RevisionHistory>
<Revision>
<Number>1.0</Number>
<Date>2023-08-18</Date>
<Description>Initial</Description>
</Revision>
</RevisionHistory>
<InitialReleaseDate>2023-08-18</InitialReleaseDate>
<CurrentReleaseDate>2023-08-18</CurrentReleaseDate>
<Generator>
<Engine>openEuler SA Tool V1.0</Engine>
<Date>2023-08-18</Date>
</Generator>
</DocumentTracking>
<DocumentNotes>
<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">python-werkzeug security update</Note>
<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for python-werkzeug is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 and openEuler-22.03-LTS-SP2.</Note>
<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">*werkzeug* German noun: "tool". Etymology: *werk* ("work"), *zeug* ("stuff") Werkzeug is a comprehensive `WSGI`_ web application library. It began as a simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility libraries. It includes:
- An interactive debugger that allows inspecting stack traces and source code in the browser with an interactive interpreter for any frame in the stack. - A full-featured request object with objects to interact with headers, query args, form data, files, and cookies. - A response object that can wrap other WSGI applications and handle streaming data. - A routing system for matching URLs to endpoints and generating URLs for endpoints, with an extensible system for capturing variables from URLs. - HTTP utilities to handle entity tags, cache control, dates, user agents, cookies, files, and more. - A threaded WSGI server for use while developing applications locally. - A test client for simulating HTTP requests during testing without requiring running a server. Werkzeug doesn't enforce any dependencies. It is up to the developer to choose a template engine, database adapter, and even how to handle requests. It can be used to build all sorts of end user applications
such as blogs, wikis, or bulletin boards. `Flask`_ wraps Werkzeug, using it to handle the details of WSGI while providing more structure and patterns for defining powerful applications.
Security Fix(es):
Werkzeug is a comprehensive WSGI web application library. Browsers may allow &quot;nameless&quot; cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.(CVE-2023-23934)
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug&apos;s multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.(CVE-2023-25577)</Note>
<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for python-werkzeug is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 and openEuler-22.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.</Note>
<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">High</Note>
<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">python-werkzeug</Note>
</DocumentNotes>
<DocumentReferences>
<Reference Type="Self">
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1515</URL>
</Reference>
<Reference Type="openEuler CVE">
<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-23934</URL>
<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-25577</URL>
</Reference>
<Reference Type="Other">
<URL>https://nvd.nist.gov/vuln/detail/CVE-2023-23934</URL>
<URL>https://nvd.nist.gov/vuln/detail/CVE-2023-25577</URL>
</Reference>
</DocumentReferences>
<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
<Branch Type="Product Name" Name="openEuler">
<FullProductName ProductID="openEuler-20.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">openEuler-20.03-LTS-SP1</FullProductName>
<FullProductName ProductID="openEuler-20.03-LTS-SP3" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">openEuler-20.03-LTS-SP3</FullProductName>
<FullProductName ProductID="openEuler-22.03-LTS" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">openEuler-22.03-LTS</FullProductName>
<FullProductName ProductID="openEuler-22.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">openEuler-22.03-LTS-SP1</FullProductName>
<FullProductName ProductID="openEuler-22.03-LTS-SP2" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP2">openEuler-22.03-LTS-SP2</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="noarch">
<FullProductName ProductID="python3-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">python3-werkzeug-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python2-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">python2-werkzeug-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-doc-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">python3-werkzeug-doc-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python2-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">python2-werkzeug-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-doc-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">python3-werkzeug-doc-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">python3-werkzeug-1.0.1-2.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-help-1.0.1-3" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">python-werkzeug-help-1.0.1-3.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-1.0.1-3" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">python3-werkzeug-1.0.1-3.oe2203.noarch.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-help-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">python-werkzeug-help-2.0.3-4.oe2203sp1.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">python3-werkzeug-2.0.3-4.oe2203sp1.noarch.rpm</FullProductName>
<FullProductName ProductID="python3-werkzeug-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP2">python3-werkzeug-2.0.3-4.oe2203sp2.noarch.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-help-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP2">python-werkzeug-help-2.0.3-4.oe2203sp2.noarch.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="src">
<FullProductName ProductID="python-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">python-werkzeug-1.0.1-2.oe1.src.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-1.0.1-2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">python-werkzeug-1.0.1-2.oe1.src.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-1.0.1-3" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">python-werkzeug-1.0.1-3.oe2203.src.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP1">python-werkzeug-2.0.3-4.oe2203sp1.src.rpm</FullProductName>
<FullProductName ProductID="python-werkzeug-2.0.3-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP2">python-werkzeug-2.0.3-4.oe2203sp2.src.rpm</FullProductName>
</Branch>
</ProductTree>
<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
<Notes>
<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Werkzeug is a comprehensive WSGI web application library. Browsers may allow nameless cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.</Note>
</Notes>
<ReleaseDate>2023-08-18</ReleaseDate>
<CVE>CVE-2023-23934</CVE>
<ProductStatuses>
<Status Type="Fixed">
<ProductID>openEuler-20.03-LTS-SP1</ProductID>
<ProductID>openEuler-20.03-LTS-SP3</ProductID>
<ProductID>openEuler-22.03-LTS</ProductID>
<ProductID>openEuler-22.03-LTS-SP1</ProductID>
<ProductID>openEuler-22.03-LTS-SP2</ProductID>
</Status>
</ProductStatuses>
<Threats>
<Threat Type="Impact">
<Description>Low</Description>
</Threat>
</Threats>
<CVSSScoreSets>
<ScoreSet>
<BaseScore>3.5</BaseScore>
<Vector>AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N</Vector>
</ScoreSet>
</CVSSScoreSets>
<Remediations>
<Remediation Type="Vendor Fix">
<Description>python-werkzeug security update</Description>
<DATE>2023-08-18</DATE>
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1515</URL>
</Remediation>
</Remediations>
</Vulnerability>
<Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
<Notes>
<Note Title="Vulnerability Description" Type="General" Ordinal="2" xml:lang="en">Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug s multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.</Note>
</Notes>
<ReleaseDate>2023-08-18</ReleaseDate>
<CVE>CVE-2023-25577</CVE>
<ProductStatuses>
<Status Type="Fixed">
<ProductID>openEuler-20.03-LTS-SP1</ProductID>
<ProductID>openEuler-20.03-LTS-SP3</ProductID>
<ProductID>openEuler-22.03-LTS</ProductID>
<ProductID>openEuler-22.03-LTS-SP1</ProductID>
<ProductID>openEuler-22.03-LTS-SP2</ProductID>
</Status>
</ProductStatuses>
<Threats>
<Threat Type="Impact">
<Description>High</Description>
</Threat>
</Threats>
<CVSSScoreSets>
<ScoreSet>
<BaseScore>7.5</BaseScore>
<Vector>AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</Vector>
</ScoreSet>
</CVSSScoreSets>
<Remediations>
<Remediation Type="Vendor Fix">
<Description>python-werkzeug security update</Description>
<DATE>2023-08-18</DATE>
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1515</URL>
</Remediation>
</Remediations>
</Vulnerability>
</cvrfdoc>