Symlink attack in mercurial (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-3902
CWE-ID CWE-61
Exploitation vector Network
Public exploit N/A
Vulnerable software
mercurial (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Symlink attack

EUVDB-ID: #VU29241

Risk: Medium

CVSSv4.0: 0.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-3902

CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following

Exploit availability: No

Description

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue. A remote user can create a specially crafted symbolic link to and write files outside a repository.

Mitigation

Install update from vendor's website.

Vulnerable software versions

mercurial (Alpine package): 4.0.1-r0 - 4.5.2-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=e30587e6d086657c2b20040a01408e6a321fc5fc
https://git.alpinelinux.org/aports/commit/?id=cfa31bbcb6d2842fc65e144769cdd9e246600584
https://git.alpinelinux.org/aports/commit/?id=62755c77c68aad877b194aa2678fb06b337091ea
https://git.alpinelinux.org/aports/commit/?id=87765f5b665bb32c812b026658f7b2fdc4d1c816
https://git.alpinelinux.org/aports/commit/?id=0012ca0681bdad7f646920585fa58905c7e30cee
https://git.alpinelinux.org/aports/commit/?id=02e8c94d8877d6acdff3f6bde864ba4b5cf6b985


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###