CVE-2021-40330
mediumpriority · track · 31EPSS 0.029 · 87 %ileDEEURUUSEPSS · scored 2026-10-27
git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may result in unexpected cross-protocol requests, as demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 substring.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedphoenix_contact_psirt
**Update to Firmware Release 2022.0.3 LTS or higher:** - AXC F 2152 (2404267) [Download](http://www.phoenixcontact.net/qr/2404267/firmware) - AXC F 1152 (1151412) [Download](http://www.phoenixcontact.net/qr/1151412/firmware) - AXC F 3152 (1069208) Not yet released **Update to PLCnext Engineer Release 2022.0.1 LTS or higher.**
- Mitigationphoenix_contact_psirt
Phoenix Contact recommends operating network-capable devices in closed networks or protected with a suitable firewall. For detailed information on our recommendations for measures to protect network-capable devices, please refer to our application note: Measures to protect network-capable devices with Ethernet connection
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (16)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- VDE-2022-010PHOENIX CONTACT: Multiple Linux component vulnerabilities fixed in latest AXC F x152 LTS release2022-04-12csaf · phoenix_contact_psirtDE
PLCnext Control AXC F x152 is certified according to IEC 62443-4-1 and IEC 62443-4-2. This certification requires that all third-party components used in the firmware are regularly checked for known vulnerabilities. Firmware components in version 2021.06 had already been updated. For the 2022.0 LTS version more firmware components have been updated implicitly fixing the vulnerabilities listed. The vulnerabilities listed above have not been individually verified in terms of actual impact and/or limitations in combination with the affected products listed. The current LTS release 2022.0 LTS contains updates of integrated third-party libraries, SDKs and other third-party software to address these issues nevertheless. UPDATE A (April 4th, 2022): Added RFC 4072 (Art. No. 1051328) and fixed affected version of AXC F 3152
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473cnnvd
- https://github.com/git/git/compare/v2.30.0...v2.30.1cnnvd
- https://lists.debian.org/debian-lts-announce/2022/10/msg00014.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-40330cnnvd
- https://packetstormsecurity.com/files/164148/Ubuntu-Security-Notice-USN-5076-1.htmlcnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3069cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3335cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3522cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan