Skip to content
OpenAdvisories

Weakness (CWE)

CWE-622: Improper Validation of Function Hook Arguments

Variant Draft

The product adds hooks to user-accessible API functions, but it does not properly validate the arguments.

How to prevent it (2 mitigations)
  1. Architecture and Design

    Ensure that all arguments are verified, as defined by the API you are protecting.

  2. Architecture and Design

    Drop privileges before invoking such functions, if possible.

Source: MITRE CWE-622

2 results · Feed