Lack of input validation for X-Forwarded headers in WEBrick::HTTPRequest
Ruby Ruby
At a glance
Various methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not validate the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server headers in requests, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 1.521%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Ruby | Ruby | Affected versions:1.9.2Show full version range for Ruby1.8.7 and earlier |
| Vendor:ruby-lang | ruby | Affected versions:1.8.7Show full version range for ruby1.9.2 |
| Vendor:redhat | rubyEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby
|
| Vendor:redhat | ruby-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-devel
|
| Vendor:redhat | ruby-docsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-docs
|
| Vendor:redhat | ruby-irbEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-irb
|
| Vendor:redhat | ruby-libsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-libs
|
| Vendor:redhat | ruby-rdocEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-rdoc
|
| Vendor:redhat | ruby-riEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-ri
|
| Vendor:redhat | ruby-staticEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-static
|
1–10 of 14 · Page 1 of 2
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nnvd · Wazuh CTI (cna)5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:NRed Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences