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

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

Name Vendor Start Version End Version
Inspircd Inspircd 2.0 (including) 2.0.29 (excluding)
Inspircd Inspircd 3.0 (including) 3.6.0 (excluding)
Inspircd Ubuntu bionic *
Inspircd Ubuntu esm-apps/bionic *
Inspircd Ubuntu esm-apps/focal *
Inspircd Ubuntu esm-apps/xenial *
Inspircd Ubuntu focal *
Inspircd Ubuntu groovy *
Inspircd Ubuntu hirsute *
Inspircd Ubuntu impish *
Inspircd Ubuntu kinetic *
Inspircd Ubuntu lunar *
Inspircd Ubuntu mantic *
Inspircd Ubuntu trusty *
Inspircd Ubuntu upstream *
Inspircd Ubuntu xenial *

Potential Mitigations

References