Description
The function "Token& Scanner::peek" in scanner.cpp in yaml-cpp 0.5.3 and earlier allows remote attackers to cause a denial of service (assertion failure and application exit) via a '!2' string.
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 | yaml-cpp | 0.6.3-1 | — |
| Debian 13 | yaml-cpp | 0.6.3-1 | — |
| Debian 12 | yaml-cpp | 0.6.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | yaml-cpp | No fix yet | — |
| Ubuntu 18.04 LTS | yaml-cpp +1 | No fix yet | — |
| Ubuntu 16.04 LTS | yaml-cpp +1 | No fix yet | — |
| Ubuntu 14.04 LTS | yaml-cpp | No fix yet | — |
Advisories 1
- WID-SEC-2022-0602 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 17, 2024
References
- https://github.com/jbeder/yaml-cpp/issues/519
- GLSA-202007-14 vendor-advisory