CVEvulnerability
CVE-2023-35852
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-06-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• oisf suricata (< 6.0.13)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/OISF/suricata/commit/735f5aa9ca3b28cfacc7a443f93a44387fbacf17 Patch
- https://github.com/OISF/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335 Patch
- https://github.com/OISF/suricata/compare/suricata-6.0.12...suricata-6.0.13 Vendor Advisory
- https://www.stamus-networks.com/stamus-labs Not Applicable
- https://github.com/OISF/suricata/commit/735f5aa9ca3b28cfacc7a443f93a44387fbacf17 Patch
- https://github.com/OISF/suricata/commit/aee1523b4591430ebed1ded0bb95508e6717a335 Patch
- https://github.com/OISF/suricata/compare/suricata-6.0.12...suricata-6.0.13 Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00029.html lists.debian.org
- https://www.stamus-networks.com/stamus-labs Not Applicable