CVE-2014-1604: Rply RPLY Predictable Tmpfile Names Allows Vulnerability

LOW
Advisory Identifier: GHSA-9gcf-pq99-rjw3
CWE-377
Published
Advisory Summary

CVE-2014-1604 is a LOW rply predictable tmpfile names allows vulnerability (CWE-377: Insecure Temporary File) affecting Rply libraries in the PyPI ecosystem. The issue involves rply predictable tmpfile names allows cache spoofing. Remediation is available by upgrading affected packages to version 0.7.1.

CVE-2014-1604 at a Glance

CVE Identifier CVE-2014-1604
GHSA Identifier GHSA-9gcf-pq99-rjw3
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-377: Insecure Temporary File
Affected Product Rply
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2014-1604

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

rply fixed: 0.7.1
pip install rply>=0.7.1
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 rply

How to Check if You Are Affected

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

pip show rply

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-377: Insecure Temporary File, where creating and using insecure temporary files can leave application and system data vulnerable to attack. In Rply, 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

The parser cache functionality in parsergenerator.py in RPLY (aka python-rply) before 0.7.1 allows local users to spoof cache data by pre-creating a temporary rply-*.json file with a predictable name.

CVE-2014-1604 Affected Rply Versions

1 component(s)
Fixed Versions:
0.7.1
Product / Package Ecosystem Affected Versions Fixed Version
rply
PyPI
< 0.7.1
0.7.1

References

Frequently Asked Questions

What is CVE-2014-1604?
CVE-2014-1604 is a security vulnerability in Rply involving RPLY Predictable Tmpfile Names Allows Cache Spoofing under CWE-377: Insecure Temporary File.
Which Rply versions are affected?
Affected versions include releases prior to 0.7.1 across affected packages: rply.
What version fixes CVE-2014-1604?
Upgrading to 0.7.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rply affected?
Yes, rply is affected in releases prior to 0.7.1. Upgrade your dependency to 0.7.1 or later.
What CWE is associated with CVE-2014-1604?
CVE-2014-1604 is classified under CWE-377: Insecure Temporary File (Creating and using insecure temporary files can leave application and system data vulnerable to attack.).
How can I check PyPI dependencies for CVE-2014-1604?
Run the dependency tree command: 'pip show rply'. 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-9gcf-pq99-rjw3",
  "modified" : "2026-05-29T20:48:18Z",
  "published" : "2022-05-17T01:27:10Z",
  "aliases" : [ "CVE-2014-1604" ],
  "summary" : "RPLY Predictable Tmpfile Names Allows Cache Spoofing",
  "details" : "The parser cache functionality in parsergenerator.py in RPLY (aka python-rply) before 0.7.1 allows local users to spoof cache data by pre-creating a temporary rply-*.json file with a predictable name.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "rply"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-1604"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alex/rply/commit/fc9bbcd25b0b4f09bbd6339f710ad24c129d5d7c"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/90593"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alex/rply"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/rply/PYSEC-2014-117.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/rply/PYSEC-2014-17.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735263"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/01/17/8"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/01/18/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-377" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-16T22:49:38Z",
    "nvd_published_at" : "2014-01-28T00:55:00Z"
  }
}