<?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 SDL2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS</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-2022-1645</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2022-05-11</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2022-05-11</InitialReleaseDate>
		<CurrentReleaseDate>2022-05-11</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2022-05-11</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">SDL2 security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for SDL2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device.

Security Fix(es):

SDL (Simple DirectMedia Layer) through 2.0.12 has an Integer Overflow (and resultant SDL_memcpy heap corruption) in SDL_BlitCopy in video/SDL_blit_copy.c via a crafted .BMP file.(CVE-2020-14409)
SDL (Simple DirectMedia Layer) through 2.0.12 has a heap-based buffer over-read in Blit_3or4_to_3or4__inversed_rgb in video/SDL_blit_N.c via a crafted .BMP file.(CVE-2020-14410)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for SDL2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.

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">SDL2</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1645</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-14409</URL>
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2020-14410</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2020-14409</URL>
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2020-14410</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>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-2.0.12-1.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-2.0.12-1.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-2.0.12-4.oe2203.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="aarch64">
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-debuginfo-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-debugsource-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-devel-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-debuginfo-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-debugsource-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-devel-2.0.12-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-2.0.12-4.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-debuginfo-2.0.12-4.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-debugsource-2.0.12-4.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-devel-2.0.12-4.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-static-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-static-2.0.12-4.oe2203.aarch64.rpm</FullProductName>			
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-debuginfo-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-debugsource-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">SDL2-devel-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-debuginfo-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-debugsource-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">SDL2-devel-2.0.12-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-2.0.12-4.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debuginfo-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-debuginfo-2.0.12-4.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-debugsource-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-debugsource-2.0.12-4.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-devel-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-devel-2.0.12-4.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="SDL2-static-2.0.12-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">SDL2-static-2.0.12-4.oe2203.x86_64.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">Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior behind a proxy that does not properly validate the incoming HTTP request matches the RFC7230 standard, Waitress and the frontend proxy may disagree on where one request starts and where it ends. This would allow requests to be smuggled via the front-end proxy to waitress and later behavior. There are two classes of vulnerability that may lead to request smuggling that are addressed by this advisory: The use of Python's `int()` to parse strings into integers, leading to `+10` to be parsed as `10`, or `0x01` to be parsed as `1`, where as the standard specifies that the string should contain only digits or hex digits; and Waitress does not support chunk extensions, however it was discarding them without validating that they did not contain illegal characters. This vulnerability has been patched in Waitress 2.1.1. A workaround is available. When deploying a proxy in front of waitress, turning on any and all functionality to make sure that the request matches the RFC7230 standard. Certain proxy servers may not have this functionality though and users are encouraged to upgrade to the latest version of waitress instead.</Note>
		</Notes>
		<ReleaseDate>2022-05-11</ReleaseDate>
		<CVE>CVE-2020-14409</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>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>High</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>7.8</BaseScore>
				<Vector>AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>SDL2 security update</Description>
				<DATE>2022-05-11</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1645</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
	<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">Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior behind a proxy that does not properly validate the incoming HTTP request matches the RFC7230 standard, Waitress and the frontend proxy may disagree on where one request starts and where it ends. This would allow requests to be smuggled via the front-end proxy to waitress and later behavior. There are two classes of vulnerability that may lead to request smuggling that are addressed by this advisory: The use of Python's `int()` to parse strings into integers, leading to `+10` to be parsed as `10`, or `0x01` to be parsed as `1`, where as the standard specifies that the string should contain only digits or hex digits; and Waitress does not support chunk extensions, however it was discarding them without validating that they did not contain illegal characters. This vulnerability has been patched in Waitress 2.1.1. A workaround is available. When deploying a proxy in front of waitress, turning on any and all functionality to make sure that the request matches the RFC7230 standard. Certain proxy servers may not have this functionality though and users are encouraged to upgrade to the latest version of waitress instead.</Note>
		</Notes>
		<ReleaseDate>2022-05-11</ReleaseDate>
		<CVE>CVE-2020-14410</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>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>5.4</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>SDL2 security update</Description>
				<DATE>2022-05-11</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1645</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>