Skip to content
OpenAdvisories

Weakness (CWE)

CWE-683: Function Call With Incorrect Order of Arguments

Variant Draft

The product calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order.

How to prevent it (1 mitigation)
  1. Implementation

    Use the function, procedure, or routine as specified.

Source: MITRE CWE-683

1 result · Clear filters · Feed

  • High 7.5

    Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls

    Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-t…