In Suricata before 6.0.13 (when there is an adversary who controls an external source of rules), a dataset filename, that comes from a rule, may trigger absolute or relative directory traversal, and lead to write access to a local filesystem. This is addressed in 6.0.13 by requiring allow-absolute-filenames and allow-write (in the datasets rules configuration section) if an installation requires traversal/writing in this situation.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35852.json"
}{
"cpe": "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.0.13"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T02:25:15Z"
[
{
"target": {
"file": "src/util-path.h"
},
"id": "CVE-2023-35852-3122e1c3",
"digest": {
"line_hashes": [
"91333645308053670368847096290587367607",
"143631006118128134772191325553239776243"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/oisf/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335"
},
{
"target": {
"function": "SetupSavePath",
"file": "src/detect-dataset.c"
},
"id": "CVE-2023-35852-4a10b4c6",
"digest": {
"function_hash": "232504511668407682734497967485675524051",
"length": 392.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/oisf/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335"
},
{
"target": {
"file": "src/detect-dataset.c"
},
"id": "CVE-2023-35852-af8dbdd3",
"digest": {
"line_hashes": [
"96951223880122559125563562755350548834",
"46242836851346384173233262018738423764",
"107398881970566090360551169625629666050",
"144748704519576399632295292518218480910",
"319055725507430203323111239742250211794"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/oisf/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35852.json"