Vulnerabilities in pkg:pypi/golismero

PACKAGE
Advisory Identifier: GHSA-vwxc-3cfr-37jq
Advisory Summary

CVE-2012-0054 is a LOW golismero symlink attack vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Golismero libraries in the PyPI ecosystem. The issue involves golismero symlink attack. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/golismero

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/golismero. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vwxc-3cfr-37jq CVE-2012-0054 LOW GoLismero symlink attack

CVE-2012-0054 at a Glance

CVE Identifier CVE-2012-0054
GHSA Identifier GHSA-vwxc-3cfr-37jq
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product Golismero
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2012-0054

To remediate this vulnerability, upgrade all affected Golismero dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

golismero fixed: Latest secure release
pip install golismero>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show golismero

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2012-0054, inspect your installed packages using pip:

pip show golismero

Analyze the terminal output to locate any version of Golismero in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show golismero command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Golismero, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

libs/updater.py in GoLismero 0.6.3, and other versions before Git revision 2b3bb43d6867, as used in backtrack and possibly other products, allows local users to overwrite arbitrary files via a symlink attack on GoLismero-controlled files, as demonstrated using Admin/changes.dat.

CVE-2012-0054 Affected Golismero Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
golismero
PyPI
≤ 0.6.3

References

Frequently Asked Questions

What is CVE-2012-0054?
CVE-2012-0054 is a security vulnerability in Golismero involving GoLismero symlink attack under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Golismero versions are affected?
Affected versions include releases prior to current release patches across affected packages: golismero.
What version fixes CVE-2012-0054?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is golismero affected?
Yes, golismero is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2012-0054?
CVE-2012-0054 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.).
How can I check PyPI dependencies for CVE-2012-0054?
Run the dependency tree command: 'pip show golismero'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vwxc-3cfr-37jq",
  "modified" : "2024-11-22T20:16:20Z",
  "published" : "2022-05-04T00:27:48Z",
  "aliases" : [ "CVE-2012-0054" ],
  "summary" : "GoLismero symlink attack",
  "details" : "libs/updater.py in GoLismero 0.6.3, and other versions before Git revision 2b3bb43d6867, as used in backtrack and possibly other products, allows local users to overwrite arbitrary files via a symlink attack on GoLismero-controlled files, as demonstrated using Admin/changes.dat.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "golismero"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.6.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-0054"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/golismero/golismero"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/golismero/PYSEC-2012-31.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://code.google.com/p/golismero/source/detail?r=2b3bb43d68676efd687361f7de29380189031ab8"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/01/17/10"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/01/17/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-59" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-22T20:16:20Z",
    "nvd_published_at" : "2012-03-19T19:55:00Z"
  }
}