CVE-2024-42416
Freebsd 13.0 – 13.3
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HSummary
CVE-2024-42416 is a high-severity Improper Filtering of Special Elements (CWE-790) vulnerability in Freebsd Freebsd. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique PowerShell (T1059.001); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-39611
Vulnerability Data
The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve…
more
code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 2 hardening rules · 2 OS baselines
V6.7.2V1.4.2V2.1.1V2.2.1
Mitigating Controls (NIST 800-53 r5) AI
Developer testing and evaluation (including static analysis and fuzzing) directly finds unsafe pointer arithmetic before deployment.
Input validation directly requires checking and filtering special elements in data received from upstream before further processing or forwarding.
Output filtering validates data sent downstream and can catch or correct unfiltered special elements prior to transmission.
Requiring documented development standards and tools can mandate safe pointer usage and compiler/runtime checks that stop the weakness from being introduced.
Security engineering principles can require bounds-checked pointer arithmetic or safe language constructs that structurally avoid out-of-range offsets.
Process isolation confines damage from invalid pointer offsets to a single address space, reducing overall impact.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing can detect improper filtering but does not itself implement the filtering control.
Secure development life cycle mandates input validation and sanitization that directly prevents improper filtering of special elements.
Application security requirements explicitly call for input validation controls that mitigate improper special-element filtering.
Secure system architecture and engineering principles include defensive input handling that reduces the risk of unfiltered special elements.
Secure coding standards require proper filtering and encoding of special elements before downstream processing.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).
Windows 10 (1 rule)
- V-220726 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-823