Vulnerability · Published Oct 6, 2021 · Assigned by GitHub_M
CVE-2021-41128CSV Injection Vulnerability in Hygeia
Critical 9.1
In plain English
A critical-severity injection in hygeia from jshmrtn. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities).
Official description
Hygeia is an application for collecting and processing personal and case data in connection with communicable diseases. In affected versions all CSV Exports (Statistics & BAG MED) contain a CSV Injection Vulnerability. Users of the system are able to submit formula as exported fields which then get executed upon ingestion of the exported file. There is no validation or sanitization of these formula fields and so malicious may construct malicious code. This vulnerability has been resolved in version 1.30.4. There are no workarounds and all users are advised to upgrade their package.
Affected products (as reported)
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
References
- https://owasp.org/www-community/attacks/CSV_Injection x_refsource_MISC
- https://github.com/jshmrtn/hygeia/security/advisories/GHSA-8pwv-jhj2-2369 x_refsource_CONFIRM
- https://github.com/beatrichartz/csv/issues/103 x_refsource_MISC
- https://github.com/beatrichartz/csv/pull/104 x_refsource_MISC
- https://github.com/jshmrtn/hygeia/commit/d917f27432fe84e1c9751222ae55bae36a4dce60 x_refsource_MISC