An issue was discovered in InspIRCd 2 before 2.0.28 and 3 before 3.3.0. The mysql module contains a NULL pointer dereference when built against mariadb-connector-c 3.0.5 or newer. 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.
[
{
"deprecated": false,
"id": "CVE-2019-20917-1e1c4755",
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"digest": {
"function_hash": "241887545301284665495179932616300993356",
"length": 238.0
},
"target": {
"function": "ModuleSQL::~ModuleSQL",
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2019-20917-25917557",
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"digest": {
"function_hash": "241887545301284665495179932616300993356",
"length": 238.0
},
"target": {
"function": "ModuleSQL::~ModuleSQL",
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2019-20917-4142751b",
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"digest": {
"line_hashes": [
"97131708961733032428775120291510823109",
"269799031876934484607055524437757444453",
"255549233016784195165188629816694547467",
"144166504417220758686599965642966819446",
"44525923303389181099518146082718386630",
"76484964166473602630262888947165542367",
"141540635961572812486623944601260203415",
"331205328941029024140957971184915955583",
"214421680455201009319560976007864853937",
"139901357027587971418495392094662248022",
"270585790749019080528851035707420653930",
"318249702073141289905245127577035652065"
],
"threshold": 0.9
},
"target": {
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2019-20917-58d7187f",
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"digest": {
"function_hash": "5609707757580415519646402921099061555",
"length": 278.0
},
"target": {
"function": "ModuleSQL::init",
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2019-20917-6b56d343",
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"digest": {
"function_hash": "13771301119563863276343567754590794382",
"length": 116.0
},
"target": {
"function": "ModuleSQL::init",
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2019-20917-9274ec66",
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"digest": {
"line_hashes": [
"97131708961733032428775120291510823109",
"269799031876934484607055524437757444453",
"231346747847626587751603029082493586596",
"131723549370569820395430375609088513083",
"44525923303389181099518146082718386630",
"76484964166473602630262888947165542367",
"141540635961572812486623944601260203415",
"331205328941029024140957971184915955583",
"214421680455201009319560976007864853937",
"139901357027587971418495392094662248022",
"329679358540076502780177285939824173153",
"208189528832989032401935639903410301095"
],
"threshold": 0.9
},
"target": {
"file": "src/modules/extra/m_mysql.cpp"
},
"signature_type": "Line",
"signature_version": "v1"
}
]