Lookup for vulnerable packages by Package URL.
| Purl | pkg:gem/ruby_parser@2.2.0 |
| Type | gem |
| Namespace | |
| Name | ruby_parser |
| Version | 2.2.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 3.1.2 |
| Latest_non_vulnerable_version | 3.1.2 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-gq4p-3kvj-3kaq |
| vulnerability_id |
VCID-gq4p-3kvj-3kaq |
| summary |
Incorrect temporary file usage
The ruby_parser Gem does not create temporary files securely. In the `diff_pp` function contained in `lib/gauntlet_rubyparser.rb` function, it creates files as `/tmp/a.[pid]` and `/tmp/b.[pid]` which can be predicted and used for either a denial of service (file cannot be overwritten), or to change the contents of files that are writable. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
|
| fixed_packages |
|
| aliases |
CVE-2013-0162, GHSA-8mvw-22r7-w6fq, OSV-90561
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-gq4p-3kvj-3kaq |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 1.4 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:gem/ruby_parser@2.2.0 |