3.9low
handcraftedinthealps goodby-csv Potential Gadget Chain allowing Remote Code Execution
- Severity
- 3.9low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x3c7-22c8-prg7
Description
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| handcraftedinthealps goodby-csv | < 1.4.3 | CVE List |
| handcraftedinthealps/goodby-csv (Packagist) | before 1.4.3 | GitHub Advisory Database |
All scores
| GitHub_M | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
GitHub Advisory Database
Impact
goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability.
Patches
Has the problem been patched? What versions should users upgrade to?
The problem is patched with Version 1.4.3
Workarounds
Patch src/Goodby/CSV/Export/Standard/Collection /CallbackCollection.php:
+ public function __wakeup() {
+ throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
+ }
However, this is not directly exploitable; a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in goodby-csv.
References
Are there any links users can visit to find out more?
NVD (es)
handcraftedinthealps goodby-csv es una librería de importación/exportación de CSV de código abierto, flexible, ampliable y con un alto consumo de memoria. Antes de la versión 1.4.3, goodby-csv podía utilizarse como parte de una cadena de métodos explotable cuando existía una vulnerabilidad de deserialización insegura en una aplicación. Esta denominada "cadena de gadgets" no representa una amenaza directa, sino un vector que puede utilizarse para la ejecución remota de código si la aplicación deserializa datos no confiables debido a otra vulnerabilidad. El problema se solucionó en la versión 1.4.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-49597 changed 2025-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x3c7-22c8-prg7 changed 2025-06-14 | CC-BY-4.0 |
| NVD | CVE-2025-49597 changed 2026-06-17 | Public domain |