Off-by-one in Systemd



Published: 2022-12-01
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-3821
CWE-ID CWE-193
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
systemd
Server applications / Other server solutions

Vendor Freedesktop.org

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Off-by-one

EUVDB-ID: #VU69807

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-3821

CWE-ID: CWE-193 - Off-by-one Error

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to an off-by-one error within the format_timespan() function in time-util.c. A local user can trigger an off-by-one error and perform a denial of service (DoS) attack.


Mitigation

Install updates from vendor's website.

Vulnerable software versions

systemd: 250 - 251.7

External links

http://github.com/systemd/systemd/issues/23928
http://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
http://github.com/systemd/systemd/pull/23933
http://bugzilla.redhat.com/show_bug.cgi?id=2139327
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###