VYPR
Moderate severityNVD Advisory· Published Oct 8, 2024· Updated Oct 8, 2024

Prototype Pollution vulnerability in SAP HANA Client

CVE-2024-45277

Description

CVE-2024-45277: Prototype Pollution in SAP HANA Node.js client (2.0.0 before 2.21.31) via nestTables feature allows attackers to add properties to global objects, causing low availability impact.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

CVE-2024-45277: Prototype Pollution in SAP HANA Node.js client (2.0.0 before 2.21.31) via nestTables feature allows attackers to add properties to global objects, causing low availability impact.

Vulnerability

Overview

The SAP HANA Node.js client package versions from 2.0.0 before 2.21.31 contain a Prototype Pollution vulnerability. This arises from improper sanitization of user input when the nestTables feature is used [1]. Prototype pollution occurs when an attacker can inject properties into the Object.prototype of JavaScript, affecting all objects of that type in the application runtime.

Exploitation

An attacker can provide specially crafted input designed to pollute the global object prototype. The attack does not require high privileges; it exploits the lack of input validation in the module's handling of nested table results. The vulnerability is reachable through any code path that uses the nestTables option with untrusted data [1].

Impact

Successful exploitation allows the attacker to add arbitrary properties to global object prototypes. According to the vendor, this leads to a low impact on availability. The confidentiality and integrity of the system are not affected [1]. This type of attack can potentially cause application-level denial of service or unexpected behavior due to polluted objects.

Mitigation

The issue is fixed in version 2.21.31 of the @sap/hana-client package. Users should upgrade to this version or later. The fix is included in SAP's regular Security Patch Day cycle [2]. No workarounds have been published; updating the dependency is the recommended course of action.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
@sap/hana-clientnpm
>= 2.0.0, < 2.21.312.21.31

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.