CVE-2016-1900
What it is
CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared.c in CGit before 0.12 allows remote attackers with permission to write to a repository to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via newline characters in a filename.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.9% in the next 30 days (EPSS).
- Severity: 3.7 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.9% · EPSS, next 30 days
- Record status
- Modified
Affected
- Fedoraproject Fedora 22
- Cgit Project Cgit ≤ 0.11.2
Attack profile CVSS 3.0 · 3.7
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-1900.md and follow it. Check whether this project is affected by CVE-2016-1900. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
- http://www.openwall.com/lists/oss-security/2016/01/14/3
- http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
- http://www.openwall.com/lists/oss-security/2016/01/14/3
References
- http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00067.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00084.html
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002790.html
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
- http://www.debian.org/security/2016/dsa-3545
- http://www.openwall.com/lists/oss-security/2016/01/14/3
- http://www.openwall.com/lists/oss-security/2016/01/14/6
- http://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00067.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00084.html
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002790.html
- http://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
- http://www.debian.org/security/2016/dsa-3545
- http://www.openwall.com/lists/oss-security/2016/01/14/3
- http://www.openwall.com/lists/oss-security/2016/01/14/6