Description
PyWBEM 0.7 and earlier does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | pywbem | 0.8.0~dev650-1 | — |
| Ubuntu 16.04 LTS | pywbem | 0.8.0~dev650-1 | — |
| Ubuntu 14.04 LTS | pywbem | 0.7.0-4ubuntu1~14.04.1 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | pywbem | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pywbem | < 0.8.1 | 0.8.1 | GHSA-gh2c-6m38-c78j |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1044246
- [pywbem-devel] 20131216 TOCTOU issue (time of check, time of use) mailing-list
- [oss-security] 20131219 Re: CVE already assigned for 1026891? mailing-list
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- 64544 vdb-entry
- http://sourceforge.net/p/pywbem/code/627/