Netatalk 3.1.0 before 4.6.0 Stack Out-of-Bounds Write via Spotlight Path Decomposition
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Netatalknetatalk |
≥ 3.1.0, < 4.6.0→ 4.6.0 |
4.6.0 |
Original description The description as published by the source.
Netatalk 3.1.0 before 4.6.0 contains an out-of-bounds write vulnerability in decompose_w() in libatalk/unicode/util_unistr.c that does not reserve space for the UTF-16 NUL terminator, so a decomposed string that exactly fills the destination is terminated two bytes past the end of the fixed stack buffer in charset_decompose(). Authenticated AFP users who can create a file path near the MAXPATHLEN limit containing selected Unicode characters can request its Spotlight metadata to corrupt stack memory and crash their AFP session process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com