CVE-2011-2711
What it is
Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier allows remote authenticated users to inject arbitrary web script or HTML via the filename associated with the rename hint.
At a glance
- Exploitability
- Can be exploited over the network with a login. 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.5 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.9% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Lars Hjemli Cgit ≤ 0.9.0.2
- Lars Hjemli Cgit 0.1
- Lars Hjemli Cgit 0.2
- Lars Hjemli Cgit 0.3
- Lars Hjemli Cgit 0.4
- Lars Hjemli Cgit 0.5
- Lars Hjemli Cgit 0.6
- Lars Hjemli Cgit 0.6.1
Attack profile CVSS 2.0 · 3.5
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:S/C:N/I:P/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-2011-2711.md and follow it. Check whether this project is affected by CVE-2011-2711. 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://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5
- http://hjemli.net/pipermail/cgit/2011-July/000276.html
- http://secunia.com/advisories/45358
- http://www.openwall.com/lists/oss-security/2011/07/22/2
- http://www.openwall.com/lists/oss-security/2011/07/22/7
- http://www.openwall.com/lists/oss-security/2011/07/24/3
- http://www.openwall.com/lists/oss-security/2011/07/24/4
- http://www.osvdb.org/74050
- https://bugzilla.redhat.com/show_bug.cgi?id=725042
- http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5
References
- http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5
- http://hjemli.net/pipermail/cgit/2011-July/000276.html
- http://secunia.com/advisories/45358
- http://secunia.com/advisories/45541
- http://www.openwall.com/lists/oss-security/2011/07/22/2
- http://www.openwall.com/lists/oss-security/2011/07/22/6
- http://www.openwall.com/lists/oss-security/2011/07/22/7
- http://www.openwall.com/lists/oss-security/2011/07/24/3
- http://www.openwall.com/lists/oss-security/2011/07/24/4
- http://www.osvdb.org/74050
- http://www.securityfocus.com/bid/48866
- https://bugzilla.redhat.com/show_bug.cgi?id=725042
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68754
- https://hermes.opensuse.org/messages/10998459
- http://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5
- http://hjemli.net/pipermail/cgit/2011-July/000276.html
- http://secunia.com/advisories/45358
- http://secunia.com/advisories/45541
- http://www.openwall.com/lists/oss-security/2011/07/22/2
- http://www.openwall.com/lists/oss-security/2011/07/22/6
- http://www.openwall.com/lists/oss-security/2011/07/22/7
- http://www.openwall.com/lists/oss-security/2011/07/24/3
- http://www.openwall.com/lists/oss-security/2011/07/24/4
- http://www.osvdb.org/74050
- http://www.securityfocus.com/bid/48866