Bugzilla – Bug 1202383
VUL-0: CVE-2022-35948: nodejs16: undici - CRLF Injection via Content-Type
Last modified: 2024-04-19 11:40:13 UTC
=< undici@5.8.0 users are vulnerable to CRLF Injection on headers when using unsanitized input as request headers, more specifically, inside the content-type header. Example: import { request } from 'undici' const unsanitizedContentTypeInput = 'application/json\r\n\r\nGET /foo2 HTTP/1.1' await request('http://localhost:3000, { method: 'GET', headers: { 'content-type': unsanitizedContentTypeInput }, }) The above snippet will perform two requests in a single request API call: http://localhost:3000/ http://localhost:3000/foo2
References: https://github.com/nodejs/undici/security/advisories/GHSA-f772-66g8-q5h3 https://github.com/nodejs/undici/commit/66165d604fd0aee70a93ed5c44ad4cc2df395f80 https://nvd.nist.gov/vuln/detail/CVE-2022-35948
tracking as affected: - SUSE:SLE-12-SP5:Update/nodejs16 - SUSE:SLE-15-SP3:Update/nodejs16 - SUSE:SLE-15-SP4:Update/nodejs16
This is an autogenerated message for OBS integration: This bug (1202383) was mentioned in https://build.opensuse.org/request/show/999257 Factory / nodejs16
SUSE-SU-2022:3196-1: An update that solves four vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1200303,1200517,1201710,1202382,1202383 CVE References: CVE-2022-29244,CVE-2022-31150,CVE-2022-35948,CVE-2022-35949 JIRA References: Sources used: SUSE Linux Enterprise Module for Web Scripting 12 (src): nodejs16-16.17.0-8.9.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.
SUSE-SU-2022:3250-1: An update that solves four vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1200303,1200517,1201710,1202382,1202383 CVE References: CVE-2022-29244,CVE-2022-31150,CVE-2022-35948,CVE-2022-35949 JIRA References: Sources used: openSUSE Leap 15.4 (src): nodejs16-16.17.0-150400.3.6.1 SUSE Linux Enterprise Module for Web Scripting 15-SP4 (src): nodejs16-16.17.0-150400.3.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.
SUSE-SU-2022:3251-1: An update that solves four vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1200303,1200517,1201710,1202382,1202383 CVE References: CVE-2022-29244,CVE-2022-31150,CVE-2022-35948,CVE-2022-35949 JIRA References: Sources used: openSUSE Leap 15.3 (src): nodejs16-16.17.0-150300.7.9.1 SUSE Linux Enterprise Module for Web Scripting 15-SP3 (src): nodejs16-16.17.0-150300.7.9.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.
done