SB2019100728 - Code injection 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) Code injection (CVE-ID: CVE-2019-16255)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in lib/shell.rb in Ruby when processing Shell#[] and its alias Shell#test. A remote attacker can send a specially crafted request and execute arbitrary Ruby code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=9187c18b5ec330fb9b5af90d85672f02af3a15d5
- https://git.alpinelinux.org/aports/commit/?id=2831552db46aa5611d731c169b45810977d7b96a
- https://git.alpinelinux.org/aports/commit/?id=9d8c04b05e9bd2d754e1d7fafde8d286b14751d9
- https://git.alpinelinux.org/aports/commit/?id=d64618fe60af05a9e866c32d4bff6db761f2ea2b
- https://git.alpinelinux.org/aports/commit/?id=4badd65f51c8099060803ef81deb2857141a06cd
- 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