SB2019100730 - Input validation error in ruby (Alpine package)
Published: October 7, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Input validation error (CVE-ID: CVE-2019-15845)
The vulnerability allows a remote attacker to bypass certain security restrictions.
The vulnerability exists in Ruby due to insufficient validation of user-supplied files within File.fnmatch and File.fnmatch? functions when processing NUL byte in the filename. A remote attacker can bypass implemented security restrictions and gain unauthorized access to the system.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=9f704bf9da4bdb94ea9e7bcee0259b0b5f8f937d
- https://git.alpinelinux.org/aports/commit/?id=b8817649bf6c0bceb6e5ad1133c8436de4a889ab
- https://git.alpinelinux.org/aports/commit/?id=fba16f258980f2a04d905339e7b167b481e8f5d6
- https://git.alpinelinux.org/aports/commit/?id=b21ba46a1a4971aee0a5432e0f30b42ff7d8ccdf