Improper Certificate Validation in Logstash - CVE-2021-22138

 

Improper Certificate Validation in Logstash - CVE-2021-22138

Published: March 25, 2021


Vulnerability identifier: #VU51713
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-22138
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to improper TLS certificate validation in the monitoring feature of Logstash. When specifying a trusted server CA certificate Logstash does not properly verify the certificate returned by the monitoring server. A remote attacker can preform a Man-in-the-Middle attack.


Affected software

Logstash
IBM Cloud Private

How to mitigate CVE-2021-22138

Install updates from vendor's website.

Logstash - addressed in versions 6.8.15, 7.12.0

External References

Related Security Bulletins