linux-pam (aka Linux PAM) before 1.6.0 allows attackers to cause a denial of service (blocked login process) via mkfifo because the openat call (for protectdir) lacks ODIRECTORY.
[
{
"signature_version": "v1",
"source": "https://github.com/linux-pam/linux-pam/commit/031bb5a5d0d950253b68138b498dc93be69a64cb",
"deprecated": false,
"id": "CVE-2024-22365-0d9b4766",
"signature_type": "Function",
"digest": {
"function_hash": "317394862203144709989130386479640475235",
"length": 1531.0
},
"target": {
"function": "protect_dir",
"file": "modules/pam_namespace/pam_namespace.c"
}
},
{
"signature_version": "v1",
"source": "https://github.com/linux-pam/linux-pam/commit/031bb5a5d0d950253b68138b498dc93be69a64cb",
"deprecated": false,
"id": "CVE-2024-22365-dc62bac2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"315361314758271223131504809646670524424",
"274342128254364186845669624273126964804",
"243165300304827059543872687303100674872",
"14439829096304519645882936487136401689",
"338274363870015476195383967866140546131",
"116745845055591218600489517576033008348",
"180024089003612423939499687877557896201",
"221575547298412562554878386368683602590",
"40555050957129843894117549475199081623",
"153236430021528792440942208146795373822",
"2350868536207391044530206346117282129",
"315357110128630639407130175964933912227",
"93453105574852989025632254695904492653",
"251342175285314308319356243353633091552",
"192104678774776308035458189836391865851",
"186538112097541752208687172540304380044",
"67413296613178931678196517808204930857",
"257929399843640289293013953594365360605",
"8458228318959229779658951446056012742",
"88264999696557550687639361897120138533",
"288307341601122833603652759859671734352",
"294647349671456566599252592752094750223"
]
},
"target": {
"file": "modules/pam_namespace/pam_namespace.c"
}
}
]