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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24300.json"
}{
"cpe": "cpe:2.3:a:minetest:minetest:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.4.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24300.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "53408133224196420866388612428380162363",
"length": 196
},
"id": "CVE-2022-24300-1938ff24",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/luanti-org/luanti/commit/b5956bde259faa240a81060ff4e598e25ad52dae",
"target": {
"file": "src/itemstackmetadata.cpp",
"function": "ItemStackMetadata::setString"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"139091593272906886536187692800344746310",
"147833175575904894199468214698151422506",
"285130253436111299565579533393835422191",
"136955139694349349319049353098607610634",
"232826309761223626484778440077722443760",
"229672279112784701421788494966258695778",
"119741633168882156739549111384133518796",
"59095601892421019714297209725059810961",
"315452706849647259784930325093990111991",
"220448486910237519561833148909854796795"
],
"threshold": 0.9
},
"id": "CVE-2022-24300-2edc632b",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/luanti-org/luanti/commit/b5956bde259faa240a81060ff4e598e25ad52dae",
"target": {
"file": "src/itemstackmetadata.cpp"
}
}
]
"2026-08-12T13:00:00Z"