CVE-2014-2538
What it is
Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbitrary web script or HTML via a URI, which might not be properly handled by third-party adapters such as JRuby-Rack.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.2% 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: 2.2% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.2% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Joshua Peek rack-ssl ≤ 1.3.4
- Joshua Peek rack-ssl 1.0.0
- Joshua Peek rack-ssl 1.1.0
- Joshua Peek rack-ssl 1.2.0
- Joshua Peek rack-ssl 1.3.0
- Joshua Peek rack-ssl 1.3.1
- Joshua Peek rack-ssl 1.3.2
- Joshua Peek rack-ssl 1.3.3
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/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-2014-2538.md and follow it. Check whether this project is affected by CVE-2014-2538. 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://secunia.com/advisories/57466
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
- http://secunia.com/advisories/57466
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
References
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00032.html
- http://secunia.com/advisories/57466
- http://www.openwall.com/lists/oss-security/2014/03/19/20
- http://www.securityfocus.com/bid/66314
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00032.html
- http://secunia.com/advisories/57466
- http://www.openwall.com/lists/oss-security/2014/03/19/20
- http://www.securityfocus.com/bid/66314
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b