CVE-2016-8640
What it is
A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 9.1 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-89 · SQL injection
- Record status
- Modified
Affected
- Pycsw < 1.8.6
- Pycsw < 1.10.5
- Pycsw < 2.0.2
Attack profile CVSS 3.0 · 9.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-8640.md and follow it. Check whether this project is affected by CVE-2016-8640. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://seclists.org/oss-sec/2016/q4/406
- https://github.com/geopython/pycsw/pull/474/files
- https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch
- http://seclists.org/oss-sec/2016/q4/406
- https://github.com/geopython/pycsw/pull/474/files
- https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch
References
- http://seclists.org/oss-sec/2016/q4/406
- http://www.securityfocus.com/bid/94302
- https://github.com/geopython/pycsw/pull/474/files
- https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch
- http://seclists.org/oss-sec/2016/q4/406
- http://www.securityfocus.com/bid/94302
- https://github.com/geopython/pycsw/pull/474/files
- https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch