OSV-2021-1629 Heap-buffer-overflow in Curl_sasl_decode_mech
A heap-buffer-overflow in cURL's SASL mechanism decoding can lead to crashes or potential code execution when processing malicious URLs.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-1629?
OSV-2021-1629 is a memory corruption vulnerability in curl, published on 27 Nov 2021. It can be exploited over the network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41403
Crash type: Heap-buffer-overflow READ 10
Crash state:
Curl_sasl_decode_mech
Curl_sasl_parse_url_auth_option
smtp_parse_url_options
Which versions are affected by OSV-2021-1629?
1 open source package ship an affected version, including curl.
| Package | Affected | Fixed in |
|---|---|---|
curl OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1629?
No fix has been published for OSV-2021-1629 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2021-1629 being exploited?
There is no known exploitation of OSV-2021-1629 in the wild and no public exploit code.