CVE-2023-35852
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.10%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 1.10% probability · 64th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- oisf/suricata
- Source
- cve@mitre.org
References
- https://github.com/OISF/suricata/commit/735f5aa9ca3b28cfacc7a443f93a44387fbacf17Patch
- https://github.com/OISF/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335Patch
- https://github.com/OISF/suricata/compare/suricata-6.0.12...suricata-6.0.13Vendor Advisory
- https://www.stamus-networks.com/stamus-labsNot Applicable
- https://github.com/OISF/suricata/commit/735f5aa9ca3b28cfacc7a443f93a44387fbacf17Patch
- https://github.com/OISF/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335Patch
- https://github.com/OISF/suricata/compare/suricata-6.0.12...suricata-6.0.13Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00029.html
- https://www.stamus-networks.com/stamus-labsNot Applicable
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.