Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-rply | 0.7.1-1 | — |
| Debian 13 | python-rply | 0.7.1-1 | — |
| Debian 12 | python-rply | 0.7.1-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | rply | < 0.7.1 | 0.7.1 | GHSA-9gcf-pq99-rjw3 |
References
- [oss-security] 20140114 Fwd: [Python-modules-team] Bug#735263: python-rply: insecure use of /tmp mailing-list
- rply-cve20141604-insecure-permissions(90593) vdb-entry
- 102202 vdb-entry
- 56429 third-party-advisory
- https://github.com/alex/rply/commit/fc9bbcd25b0b4f09bbd6339f710ad24c129d5d7c
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735263
- [oss-security] 20140117 Re: Fwd: [Python-modules-team] Bug#735263: python-rply: insecure use of /tmp mailing-list