But the catch is, these types of vulnerabilities are preventable. Software manufacturers can eliminate them at the source by taking a secure by design approach.
That is why the Cybersecurity and Infrastructure Security Agency (CISA) and the Federal Bureau of Investigation (FBI) released a Secure by Design Alert in response to attacks that leveraged OS command injection defects in network edge devices (CVE-2024-20399, CVE-2024-3400, CVE-2024-21887).
These vulnerabilities allowed unauthenticated malicious actors to remotely execute code on network edge devices.
OS command injection vulnerabilities come about when manufacturers fail to properly validate and sanitize user input when constructing commands to execute on the underlying OS. Designing and developing software that trusts user input without proper validation or sanitization can allow threat actors to execute malicious commands, putting customers at risk.
CISA and FBI urge chief executives and other business leaders at technology manufacturers to make sure their technical leaders analyze past occurrences of this class of defect and develop a plan to eliminate them in the future.
To further prevent these vulnerabilities, technical leaders should:
- Ensure software uses functions that generate commands in safer ways by preserving the intended syntax of the command and its arguments
- Review their threat models
- Use modern component libraries
- Conduct code reviews
- And implement aggressive adversarial product testing to ensure the quality and security of their code throughout the development lifecycle
Click here for more on the advisory.

