Librelp: certificate validation bypass in certvalid tls authentication mode
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 6 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 7 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Enterprise Linux |
|
||||||||
| Red Hat | Enterprise Linux |
|
||||||||
| Redhat | Enterprise Linux |
|
||||||||
| Redhat | Enterprise Linux |
|
Vendor Workaround
Restrict network reachability to the RELP service port using firewall rules so that only authorized systems can establish connections, or switch to an alternate authentication mode such as "fingerprint" or "name". To restrict the RELP port (default 20514/tcp) to authorized IP addresses using firewalld: firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_SUBNET> firewall-cmd --permanent --zone=trusted --add-port=20514/tcp firewall-cmd --permanent --remove-port=20514/tcp firewall-cmd --reload Alternatively, if RELP network logging is not essential, disable the imrelp or omrelp configuration in /etc/rsyslog.conf or /etc/rsyslog.d/ and restart rsyslog: systemctl restart rsyslog Caveats: Restricting access via firewall rules prevents connections from untrusted networks but does not prevent spoofing from hosts residing within the trusted IP range. Disabling RELP modules or changing authentication modes prevents log forwarding until all participating systems are reconfigured. Warning: Modifying firewall configurations requires reloading firewalld, and changing rsyslog settings requires restarting the rsyslog daemon, which will cause a brief interruption in log handling.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Red Hat
Red Hat enterprise Linux |
|
| Vendors & Products |
Red Hat
Red Hat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in librelp. When configured to use Transport Layer Security (TLS) with certificate validation and the GnuTLS driver, the library fails to verify the peer certificate chain. A remote, unauthenticated attacker can exploit this issue by presenting an invalid or self-signed certificate, allowing them to bypass authentication and act as a trusted log source or collector. | |
| Title | Librelp: certificate validation bypass in certvalid tls authentication mode | |
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat rhel Els |
|
| Weaknesses | CWE-295 | |
| CPEs | cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 cpe:/o:redhat:rhel_els:6 cpe:/o:redhat:rhel_els:7 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat rhel Els |
|
| References |
| |
| Metrics |
cvssV3_1
|
Improper Certificate Validation