A code execution vulnerability exists in the Statement Bindings functionality of Ghost Foundation node-sqlite3 5.1.1. A specially-crafted Javascript file can lead to arbitrary code execution. An attacker can provide malicious input to trigger this vulnerability.
The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Sqlite3 | Ghost | 5.0.0 (including) | 5.1.5 (excluding) |
Node-sqlite3 | Ubuntu | bionic | * |
Node-sqlite3 | Ubuntu | kinetic | * |
Node-sqlite3 | Ubuntu | lunar | * |
Node-sqlite3 | Ubuntu | trusty | * |
Node-sqlite3 | Ubuntu | upstream | * |
Node-sqlite3 | Ubuntu | xenial | * |
If the object contains attributes that were only intended for internal use, then their unexpected modification could lead to a vulnerability. This weakness is sometimes known by the language-specific mechanisms that make it possible, such as mass assignment, autobinding, or object injection.