BREW-CVE-BIN-TOOL-CVE-20… (GHSA-R3VR-PRWV-86G9)

Vulnerability from osv_homebrew – Published: 2026-08-13 16:42 – Updated: 2026-09-10 19:04 – Source website
VLAI
Summary
python-gnupg's shell_quote function does not properly quote strings
Details

The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "$(" command-substitution sequences, a different vulnerability than CVE-2014-1928. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "resource": "python-gnupg",
        "resource_purl": "pkg:pypi/python-gnupg@0.5.6",
        "upstream_fixed_in": "0.3.6"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "cve-bin-tool",
        "purl": "pkg:brew/cve-bin-tool"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.4_2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "registry",
    "upstream_evidence": [
      {
        "ecosystem": "PyPI",
        "key": "pkg:pypi/python-gnupg@0.5.6",
        "name": "python-gnupg",
        "resource": "python-gnupg",
        "strategy": "registry",
        "subject_version": "0.5.6"
      }
    ]
  },
  "details": "The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using \"$(\" command-substitution sequences, a different vulnerability than CVE-2014-1928.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.",
  "id": "BREW-cve-bin-tool-CVE-2014-1927",
  "modified": "2026-09-10T19:04:07Z",
  "published": "2026-08-13T16:42:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1927"
    },
    {
      "type": "PACKAGE",
      "url": "https://bitbucket.org/vinay.sajip/python-gnupg"
    },
    {
      "type": "WEB",
      "url": "https://code.google.com/p/python-gnupg"
    },
    {
      "type": "WEB",
      "url": "https://code.google.com/p/python-gnupg/issues/detail?id=98"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-r3vr-prwv-86g9"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/oss-sec/2014/q1/245"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/oss-sec/2014/q1/294"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2014/dsa-2946"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "python-gnupg\u0027s shell_quote function does not properly quote strings",
  "upstream": [
    "GHSA-r3vr-prwv-86g9",
    "CVE-2014-1927",
    "PYSEC-2014-90"
  ]
}



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…