<?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 lighttpd 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-1989</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2022-10-14</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2022-10-14</InitialReleaseDate>
		<CurrentReleaseDate>2022-10-14</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2022-10-14</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">lighttpd security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for lighttpd 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">Secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make it the perfect webserver-software for every server that is suffering load problems.

Security Fix(es):

In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.(CVE-2022-37797)

A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.(CVE-2022-41556)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for lighttpd 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">lighttpd</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1989</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-37797</URL>
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-41556</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2022-37797</URL>
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2022-41556</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="aarch64">
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-fastcgi-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_mysql_vhost-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-debuginfo-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_gssapi-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-debugsource-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_pam-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_mysql-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-debuginfo-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-fastcgi-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_gssapi-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_mysql_vhost-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_mysql-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-debugsource-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_pam-1.4.67-1.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_mysql-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-fastcgi-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-debugsource-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_mysql_vhost-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-debuginfo-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_pam-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_gssapi-1.4.67-1.oe2203.aarch64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="lighttpd-filesystem-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-filesystem-1.4.67-1.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-filesystem-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-filesystem-1.4.67-1.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-filesystem-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-filesystem-1.4.67-1.oe2203.noarch.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-1.4.67-1.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-1.4.67-1.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-1.4.67-1.oe2203.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_mysql_vhost-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-debugsource-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_gssapi-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-fastcgi-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_mysql-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-mod_authn_pam-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">lighttpd-debuginfo-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_mysql_vhost-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-fastcgi-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_gssapi-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_mysql-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-mod_authn_pam-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-debugsource-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">lighttpd-debuginfo-1.4.67-1.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debuginfo-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-debuginfo-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-debugsource-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-debugsource-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_mysql_vhost-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_mysql_vhost-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_gssapi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_gssapi-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_mysql-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_mysql-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-mod_authn_pam-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-mod_authn_pam-1.4.67-1.oe2203.x86_64.rpm</FullProductName>
			<FullProductName ProductID="lighttpd-fastcgi-1.4.67-1" CPE="cpe:/a:openEuler:openEuler:22.03-LTS">lighttpd-fastcgi-1.4.67-1.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">In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.</Note>
		</Notes>
		<ReleaseDate>2022-10-14</ReleaseDate>
		<CVE>CVE-2022-37797</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.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>lighttpd security update</Description>
				<DATE>2022-10-14</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1989</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">A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.</Note>
		</Notes>
		<ReleaseDate>2022-10-14</ReleaseDate>
		<CVE>CVE-2022-41556</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.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>lighttpd security update</Description>
				<DATE>2022-10-14</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1989</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>