There is a heap-based buffer overflow vulnerability in the neon library used in cadaver, possibly leading to execution of arbitrary code when connected to a malicious server.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-misc/cadaver | * | <= 0.22.1 | >= 0.22.2 |
cadaver is a command-line WebDAV client.
Stefan Esser discovered a vulnerability in the code of the neon library (see GLSA 200405-13). This library is also included in cadaver.
When connected to a malicious WebDAV server, this vulnerability could allow remote execution of arbitrary code with the rights of the user running cadaver.
There is no known workaround at this time. All users are advised to upgrade to the latest available version of cadaver.
All users of cadaver should upgrade to the latest stable version:
# emerge sync # emerge -pv ">=net-misc/cadaver-0.22.2" # emerge ">=net-misc/cadaver-0.22.2"
There are multiple format string vulnerabilities in the neon library used in cadaver, possibly leading to execution of arbitrary code when connected to a malicious server.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-misc/cadaver | * | < 0.22.1 | >= 0.22.1 |
According to http://www.webdav.org/cadaver, cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.
Cadaver code includes the neon library, which in versions 0.24.4 and previous is vulnerable to multiple format string attacks. The latest version of cadaver uses version 0.24.5 of the neon library, which makes it immune to this vulnerability.
When using cadaver to connect to an untrusted WebDAV server, this vulnerability can allow a malicious remote server to execute arbitrary code on the client with the rights of the user using cadaver.
A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of the affected package.
cadaver users should upgrade to version 0.22.1 or later:
# emerge sync # emerge -pv ">=net-misc/cadaver-0.22.1" # emerge ">=net-misc/cadaver-0.22.1"