Off-by-one Error Affecting systemd-libs package, versions <0:239-68.0.2.el8_7.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-SYSTEMDLIBS-3230842
- published 15 Jan 2023
- disclosed 8 Nov 2022
Introduced: 8 Nov 2022
CVE-2022-3821 Open this link in a new tabHow to fix?
Upgrade Oracle:8
systemd-libs
to version 0:239-68.0.2.el8_7.1 or higher.
This issue was patched in ELSA-2023-0100
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream systemd-libs
package and not the systemd-libs
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c. An attacker could supply specific values for time and accuracy that leads to buffer overrun in format_timespan(), leading to a Denial of Service.
References
- https://linux.oracle.com/cve/CVE-2022-3821.html
- https://linux.oracle.com/errata/ELSA-2023-0100.html
- https://linux.oracle.com/errata/ELSA-2023-0336.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2139327
- https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
- https://github.com/systemd/systemd/issues/23928
- https://github.com/systemd/systemd/pull/23933
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/
- https://security.gentoo.org/glsa/202305-15
- https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/