SQL injection in PostgreSQL adapter for Active Record in Ruby on Rails
Multiple products
At a glance
SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 4.x before 4.0.7 and 4.1.x before 4.1.3 allows remote attackers to execute arbitrary SQL commands by leveraging improper range quoting.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 4.181%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:rubyonrails | rails | Affected versions:4.0.0Show full version range for rails4.0.14.0.24.0.34.0.44.0.54.0.64.1.04.1.14.1.2 |
| Vendor:Debian | ruby-actionmailerEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-actionpackEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-actionviewEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-activemodelEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-activerecordEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-activesupportEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-railsEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Debian | ruby-railtiesEnvironments (4)
| Affected versions: < 2:4.1.4-1 |
| Vendor:Red Hat | Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) | Affected versions:Source does not specify a version range |
1–10 of 14 · Page 1 of 2
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/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