Minetest before 5.4.0 allows attackers to add or modify arbitrary meta fields of the same item stack as saved user input, aka ItemStack meta injection.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24300.json"
[
{
"deprecated": false,
"id": "CVE-2022-24300-1938ff24",
"digest": {
"length": 196.0,
"function_hash": "53408133224196420866388612428380162363"
},
"source": "https://github.com/luanti-org/luanti/commit/b5956bde259faa240a81060ff4e598e25ad52dae",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "src/itemstackmetadata.cpp",
"function": "ItemStackMetadata::setString"
}
},
{
"deprecated": false,
"id": "CVE-2022-24300-2edc632b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"139091593272906886536187692800344746310",
"147833175575904894199468214698151422506",
"285130253436111299565579533393835422191",
"136955139694349349319049353098607610634",
"232826309761223626484778440077722443760",
"229672279112784701421788494966258695778",
"119741633168882156739549111384133518796",
"59095601892421019714297209725059810961",
"315452706849647259784930325093990111991",
"220448486910237519561833148909854796795"
]
},
"source": "https://github.com/luanti-org/luanti/commit/b5956bde259faa240a81060ff4e598e25ad52dae",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "src/itemstackmetadata.cpp"
}
}
]