CVE Vulnerabilities

CVE-2020-25269

Use After Free

Published: Sep 11, 2020 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An issue was discovered in InspIRCd 2 before 2.0.29 and 3 before 3.6.0. The pgsql module contains a use after free vulnerability. When combined with the sqlauth or sqloper modules, this vulnerability can be used for remote crashing of an InspIRCd server by any user able to connect to a server.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
InspircdInspircd2.0 (including)2.0.29 (excluding)
InspircdInspircd3.0 (including)3.6.0 (excluding)
InspircdUbuntubionic*
InspircdUbuntuesm-apps/bionic*
InspircdUbuntuesm-apps/focal*
InspircdUbuntuesm-apps/xenial*
InspircdUbuntufocal*
InspircdUbuntugroovy*
InspircdUbuntuhirsute*
InspircdUbuntuimpish*
InspircdUbuntukinetic*
InspircdUbuntulunar*
InspircdUbuntumantic*
InspircdUbuntutrusty*
InspircdUbuntuupstream*
InspircdUbuntuxenial*

Potential Mitigations

References