OS Command Injection in puppetlabs-mysql - CVE-2022-3276

 

OS Command Injection in puppetlabs-mysql - CVE-2022-3276

Published: October 31, 2022


Vulnerability identifier: #VU68861
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-3276
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation. A remote user can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

puppetlabs-mysql
Red Hat OpenStack
Red Hat OpenStack for IBM Power
Contrail Cloud
Oracle Solaris
Red Hat OpenStack Director Deployment Tools
puppet-mysql (Red Hat package)

How to mitigate CVE-2022-3276

Install updates from vendor's website.

puppetlabs-mysql - update to 13.0.0
puppet-mysql (Red Hat package) - addressed in versions 5.2.2-0.20180216012143.a5497b2.el7ost, 10.4.1-2.20221019195006.95f9b98.el8ost, 10.6.1-0.20220614215045.937d044.el9ost
Contrail Cloud - update to 16.3.0

External References

Related Security Bulletins