GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2013-0162 (GCVE-0-2013-0162)

Vulnerability from cvelistv5 – Published: 2013-03-01 02:00 – Updated: 2024-08-06 14:18
VLAI
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.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
https://bugzilla.redhat.com/show_bug.cgi?id=892806 x_refsource_MISC
http://rhn.redhat.com/errata/RHSA-2013-0548.html vendor-advisoryx_refsource_REDHAT
http://rhn.redhat.com/errata/RHSA-2013-0544.html vendor-advisoryx_refsource_REDHAT
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T14:18:09.378Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=892806"
          },
          {
            "name": "RHSA-2013:0548",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0548.html"
          },
          {
            "name": "RHSA-2013:0544",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2013-03-01T02:00:00.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=892806"
        },
        {
          "name": "RHSA-2013:0548",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2013-0548.html"
        },
        {
          "name": "RHSA-2013:0544",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-0162",
    "datePublished": "2013-03-01T02:00:00.000Z",
    "dateReserved": "2012-12-06T00:00:00.000Z",
    "dateUpdated": "2024-08-06T14:18:09.378Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2013-0162",
      "date": "2026-09-19",
      "epss": "0.00343",
      "percentile": "0.27929"
    },
    "nvd": {
      "cve": {
        "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": "2026-04-29T01:13:23.040",
        "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": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-264"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-03-27T09:17:09+00:00",
      "cve": "CVE-2013-0162",
      "id": "CVE-2013-0162",
      "initial_release_date": "2013-01-21T00:00:00+00:00",
      "product_status:fixed": "249",
      "product_status:known_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "rubygem-ruby_parser: incorrect temporary file usage",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2013/cve-2013-0162.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…