UBUNTU-CVE-2013-0162

Source
https://ubuntu.com/security/CVE-2013-0162
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-0162.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2013-0162
Upstream
  • CVE-2013-0162
Published
2013-03-01T05:40:00Z
Modified
2025-10-24T04:44:59Z
Severity
  • Ubuntu - low
Summary
[none]
Details

The diffpp function in lib/gauntletrubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.

References

Affected packages

Ubuntu:16.04:LTS / ruby-parser

Package

Name
ruby-parser
Purl
pkg:deb/ubuntu/ruby-parser@3.6.6-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.6.6-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-parser",
            "binary_version": "3.6.6-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-0162.json"

Ubuntu:18.04:LTS / ruby-parser

Package

Name
ruby-parser
Purl
pkg:deb/ubuntu/ruby-parser@3.8.2-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.8.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-parser",
            "binary_version": "3.8.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-0162.json"

Ubuntu:20.04:LTS / ruby-parser

Package

Name
ruby-parser
Purl
pkg:deb/ubuntu/ruby-parser@3.11.0-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.11.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-parser",
            "binary_version": "3.11.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-0162.json"