Follow @Openwall on Twitter for new release announcements and other news
[<prev] [day] [month] [year] [list]
Message-ID: <CADk+mPBbamCBNa1ZJLQO37YzU-uiYhaaR70FA5gYOY_BSQuxbA@mail.gmail.com>
Date: Wed, 2 Dec 2026 11:56:04 -0600
From: rgerhards@...scon.com
To: oss-security@...ts.openwall.com
Subject: librelp: 2 security advisories published 2026-12-01

Hello,

librelp has published the following security advisory(ies).

Fix: https://github.com/rsyslog/librelp/commit/87a447e3f656d3e4d6e5f9d1f0e72a16527d342d

GHSA-g53f-qj39-w782: OpenSSL: RELP client without own certificate
skips the permitted-peer check
Advisory: https://github.com/rsyslog/librelp/security/advisories/GHSA-g53f-qj39-w782

### Summary
When a RELP client (for example rsyslog `omrelp`) uses TLS with the
OpenSSL driver and has no
own certificate configured, librelp silently switches its
authentication mode to "none". The
configured `fingerprint` or `name` check of the server against the
permitted peers is then
skipped. The certificate chain is still verified against the CA file,
so the client accepts
any server that presents any certificate issued by the same CA.

### Impact
Affected are RELP clients with `tls.tlslib="openssl"`, TLS enabled, a
CA file and
`tls.authmode="fingerprint"` or `"name"` with permitted peers, but
without an own client
certificate (server-only authentication).

How it happens:
1. Without an own certificate, librelp sets the client's
authentication mode internally to
   "none", although `fingerprint` or `name` is configured.
2. After the TLS handshake, the server certificate chain is still
checked against the CA file;
   self-signed certificates are rejected.
3. The check of the server certificate against the permitted peers is skipped.

An attacker who holds any certificate from the same CA (in a shared
PKI, every log sender
usually has one) and can intercept or redirect the connection (network
position, DNS) can
pose as the log server. The client then sends its logs to the
attacker, and they are lost
for the real server.

Not affected: clients with an own certificate, the GnuTLS driver, and
RELP servers.

### Patches
Fixed in librelp 1.14.0. Update librelp and restart rsyslog.

### Workarounds
- Configure an own client certificate and key (`tls.mycert`,
`tls.myprivkey`) on the client;
  then the permitted-peer check is performed.
- Or use a CA that issues certificates only to the log server(s).

### Credits
- Aardvark (OpenAI), finder
- Rainer Gerhards, remediation developer
- Rainer Gerhards of Adiscon and Claude (Anthropic), exploitability analysis

### References
- Fix: rsyslog/librelp commit 587e1fe (PR #307,
https://github.com/rsyslog/librelp/pull/307)
- Release: https://github.com/rsyslog/librelp/releases/tag/v1.14.0

Affected: librelp >= 1.2.17, < 1.14.0
Fixed in: 1.14.0
Severity: Medium, CVSS 3.1 6.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N)

GHSA-p7vw-m4vm-5cg4: OpenSSL: without a CA file, any certificate from
the system trust store is accepted
Advisory: https://github.com/rsyslog/librelp/security/advisories/GHSA-p7vw-m4vm-5cg4

### Summary
When the OpenSSL driver is used and no CA file is configured, librelp
loaded the operating
system's default CA store as trust anchors. With the authentication
mode `certvalid`, any
certificate issued by any public CA was accepted.

### Impact
Affected are RELP servers and clients with `tls.tlslib="openssl"`, TLS enabled,
`tls.authmode="certvalid"` and no CA file (`tls.cacert` not set).

How it happens:
1. Without a CA file, librelp loads the system's default CA store.
2. `certvalid` only requires a certificate that chains to a trusted CA.
3. So a certificate from any public CA, for example a free certificate
for the attacker's own
   domain, passes.

On a client (rsyslog `omrelp`), an attacker who can intercept or
redirect the connection
(network position, DNS) can pose as the server with an ordinary public
web server certificate,
for example a free certificate for the attacker's own domain, and
receives the logs.
On a server (rsyslog `imrelp`), any host that can reach the listener
and holds a public
certificate valid for client authentication can inject log messages.
Such certificates are
less commonly issued by public CAs, which makes this side harder to exploit.
With `name` authentication the permitted-peer name check still applies.

Not affected: configurations with a CA file, the GnuTLS driver.

### Patches
Fixed in librelp 1.14.0 (BEHAVIOUR CHANGE: without a CA file, the
system CA store is no longer
used). Update librelp and restart rsyslog.

### Workarounds
- Always configure the CA file of your own PKI (`tls.cacert`).
- Or use `tls.authmode="fingerprint"` or `"name"` with permitted peers.

### Credits
- Aardvark (OpenAI), finder
- Rainer Gerhards, remediation developer
- Rainer Gerhards of Adiscon and Claude (Anthropic), exploitability analysis

### References
- Fix: rsyslog/librelp commit 1dee790 (PR #311,
https://github.com/rsyslog/librelp/pull/311)
- Release: https://github.com/rsyslog/librelp/releases/tag/v1.14.0

Affected: librelp >= 1.7.0, < 1.14.0
Fixed in: 1.14.0
Severity: Medium, CVSS 3.1 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)

Regards,
the rsyslog security team
(sent automatically by the rsyslog release system)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.