fkie_cve-2013-0162
Vulnerability from fkie_nvd
Published
2013-03-01 05:40
Modified
2025-04-11 00:51
Severity ?
Summary
The diff_pp function in lib/gauntlet_rubyparser.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.



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "B7CA2D4A-C5D5-4351-A3E6-94F0134ACDFE",
              "versionEndIncluding": "3.1.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:1.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "1997DD86-5A86-44EF-BFAB-5762036FDB52",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "2EFFFD6C-CE5F-4CDA-9E21-C5092738E70D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "AAD69017-946E-46AE-B8E0-CE88870C8474",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "6072EC22-3327-4550-98A0-63A5547B8169",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "4B31D7F1-3546-460B-8433-1F6C600EA5F0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "ED3EF2CD-F764-4174-B4E8-18AA1E25B14F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "B6C3FA28-CE20-4DF8-802A-135DCF2746F1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.0.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "4589091B-CE69-4A11-9AF9-599A6BBE44BA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "972AF9F2-8925-42F4-BCCB-94897C01158B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "A5DA9AEE-69C2-44F2-86F6-E267C0F94088",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "6AA7D179-6F94-44E4-888A-2CA793811FDE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "33AB4A01-A64B-4084-893B-29463D5AAA08",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "037A5749-76E0-4633-8761-5AEE5BAA692A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a1:*:*:*:*:*:*:*",
              "matchCriteriaId": "E318EAB3-5E68-4512-A199-C962C1EE4114",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a2:*:*:*:*:*:*:*",
              "matchCriteriaId": "22611B29-93F3-4658-802D-69E58D49B918",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a3:*:*:*:*:*:*:*",
              "matchCriteriaId": "59214551-A32E-428D-AB09-29F136882DFB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a4:*:*:*:*:*:*:*",
              "matchCriteriaId": "51FF16A2-9376-44EF-928C-2246407D4A9C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a5:*:*:*:*:*:*:*",
              "matchCriteriaId": "26ECD531-FFC6-4F85-BD37-CB9C5065203A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a6:*:*:*:*:*:*:*",
              "matchCriteriaId": "71964D5D-3737-483C-8DF9-F953B2AE8668",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a7:*:*:*:*:*:*:*",
              "matchCriteriaId": "1B8B2ED9-7C48-420F-A824-8518BAAB71C2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a8:*:*:*:*:*:*:*",
              "matchCriteriaId": "9A74D9FE-8B0A-4141-8E4A-8E2362650272",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a9:*:*:*:*:*:*:*",
              "matchCriteriaId": "373A10DA-2151-445C-A83A-C433CCABD8AB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.0.a10:*:*:*:*:*:*:*",
              "matchCriteriaId": "C3FF3C93-D13C-4462-8C10-DA2A7FFB70A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "D9FB6A1F-6E32-4C5C-BE92-CBB99F9040B4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "9267296D-5A2B-47AE-A870-4E7977BD2156",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6FDAD7BE-B981-464D-9FDF-EAAB64D5B841",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.0.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "E0DCAD18-B91F-494F-8121-F1B7198DF9E0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ryan_davis:ruby_parser:3.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "823D6F3C-1FC9-4DDC-8C13-C1F9FE54CC39",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The diff_pp function in lib/gauntlet_rubyparser.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."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n diff_pp en lib/gauntlet_rubyparser.rb en ruby_parser gem v3.1.1 y anteriores para Ruby, permite a usuarios locales sobrescribir archivos arbitrarios a trav\u00e9s de un ataque de enlace simb\u00f3lico sobre un archivo temporal con un nombre predecible en /tmp."
    }
  ],
  "id": "CVE-2013-0162",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "LOW",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "LOCAL",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 2.1,
          "confidentialityImpact": "NONE",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-03-01T05:40:16.987",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-0548.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=892806"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-0548.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=892806"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-264"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…