CVE-2018-7186
Leptonica before 1.75.3 does not limit the number of characters in a % ...
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Ubuntu (moyenne).
Description
Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| debian 11 | leptonlib | 1.75.3-2 |
| debian 12 | leptonlib | 1.75.3-2 |
| debian 13 | leptonlib | 1.75.3-2 |
| debian 14 | leptonlib | 1.75.3-2 |
| debian 7 | leptonlib | 1.69-3.1+deb7u2 |
| echo | leptonlib | 1.75.3-2 |
| ubuntu 14.04-ESM | leptonlib | 1.70.1-1ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | leptonlib | 1.73-1ubuntu0.1~esm1 |
Références
- https://bugs.debian.org/890548
- https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html
- https://lists.debian.org/debian-lts/2018/02/msg00054.html
- https://security.gentoo.org/glsa/202312-01
- https://ubuntu.com/security/notices/USN-4819-1
- https://www.cve.org/CVERecord?id=CVE-2018-7186