GSD-2013-4116

Vulnerability from gsd - Updated: 2023-12-13 01:22
Details
lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2013-4116",
    "description": "lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.",
    "id": "GSD-2013-4116"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2013-4116"
      ],
      "details": "lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.",
      "id": "GSD-2013-4116",
      "modified": "2023-12-13T01:22:16.745281Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2013-4116",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://www.openwall.com/lists/oss-security/2013/07/10/17",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2013/07/10/17"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2013/07/11/9",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2013/07/11/9"
          },
          {
            "name": "http://www.securityfocus.com/bid/61083",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/61083"
          },
          {
            "name": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325",
            "refsource": "MISC",
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325"
          },
          {
            "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/87141",
            "refsource": "MISC",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/87141"
          },
          {
            "name": "https://github.com/npm/npm/commit/f4d31693",
            "refsource": "MISC",
            "url": "https://github.com/npm/npm/commit/f4d31693"
          },
          {
            "name": "https://github.com/npm/npm/issues/3635",
            "refsource": "MISC",
            "url": "https://github.com/npm/npm/issues/3635"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=983917",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=983917"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.2.8000",
          "affected_versions": "All versions before 1.2.8000",
          "credit": "J\u00e9r\u00e9my Lal",
          "cvss_v2": "AV:L/AC:M/Au:N/C:N/I:P/A:P",
          "cwe_ids": [
            "CWE-1035",
            "CWE-59",
            "CWE-937"
          ],
          "date": "2017-08-28",
          "description": "npm allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.",
          "fixed_versions": [
            "1.2.8000"
          ],
          "identifier": "CVE-2013-4116",
          "identifiers": [
            "CVE-2013-4116"
          ],
          "not_impacted": "All versions starting from 1.2.8000",
          "package_slug": "npm/npm",
          "pubdate": "2014-04-22",
          "solution": "Upgrade to version 1.2.8000 or above.",
          "title": "Predictable temp filenames allow overwrite of arbitrary files",
          "urls": [
            "http://www.openwall.com/lists/oss-security/2013/07/10/17",
            "https://github.com/npm/npm/issues/3635"
          ],
          "uuid": "5bb0dbbc-17f9-462f-abc8-4f3963b45e8c"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:node_packaged_modules_project:node_packaged_modules:*:*:*:*:*:node.js:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.3.3",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-4116"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-59"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325"
            },
            {
              "name": "https://github.com/npm/npm/issues/3635",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/npm/npm/issues/3635"
            },
            {
              "name": "61083",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/61083"
            },
            {
              "name": "https://github.com/npm/npm/commit/f4d31693",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/npm/npm/commit/f4d31693"
            },
            {
              "name": "[oss-security] 20130711 Re: npm uses predictable temporary filenames when unpacking tarballs",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2013/07/11/9"
            },
            {
              "name": "[oss-security] 20130710 npm uses predictable temporary filenames when unpacking tarballs",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2013/07/10/17"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=983917",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=983917"
            },
            {
              "name": "node-packaged-cve20134116-symlink(87141)",
              "refsource": "XF",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/87141"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 3.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 3.4,
          "impactScore": 4.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2020-10-14T13:21Z",
      "publishedDate": "2014-04-22T14:23Z"
    }
  }
}



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…

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…