Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12967: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in AWS JDBC Wrapper

0
High
VulnerabilityCVE-2025-12967cvecve-2025-12967cwe-470
Published: Mon Nov 10 2025 (11/10/2025, 18:09:10 UTC)
Source: CVE Database V5
Vendor/Project: AWS
Product: JDBC Wrapper

Description

An issue in AWS Wrappers for Amazon Aurora PostgreSQL may allow for privilege escalation to rds_superuser role. A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users. We recommend customers upgrade to the following versions: AWS JDBC Wrapper to v2.6.5, AWS Go Wrapper to 2025-10-17, AWS NodeJS Wrapper to v2.0.1, AWS Python Wrapper to v1.4.0 and AWS PGSQL ODBC driver to v1.0.1

AI-Powered Analysis

AILast updated: 11/10/2025, 18:33:18 UTC

Technical Analysis

CVE-2025-12967 is a vulnerability classified under CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, also known as 'Unsafe Reflection') affecting AWS Wrappers for Amazon Aurora PostgreSQL. The issue allows a low-privilege authenticated user to create a specially crafted function that can be executed with the permissions of other Amazon RDS users, including the highly privileged rds_superuser role. This privilege escalation occurs because the wrappers improperly handle externally supplied input to dynamically select classes or code paths, enabling unsafe reflection. The affected components include AWS JDBC Wrapper, Go Wrapper, NodeJS Wrapper, Python Wrapper, and PGSQL ODBC driver. Exploiting this vulnerability requires an authenticated user with low privileges and some user interaction, but no administrative privileges or complex attack vectors. The vulnerability can lead to unauthorized access to sensitive database operations, data modification, or disruption of service. AWS has addressed this issue by releasing updated versions of the wrappers: JDBC Wrapper v2.6.5, Go Wrapper 2025-10-17, NodeJS Wrapper v2.01, Python Wrapper v1.4.0, and PGSQL ODBC driver v1.0.1. No known exploits are currently reported in the wild. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) indicates network attack vector, low attack complexity, no privileges required beyond low privilege, user interaction required, and high impact on confidentiality, integrity, and availability.

Potential Impact

For European organizations utilizing Amazon Aurora PostgreSQL with AWS Wrappers, this vulnerability poses a significant risk of privilege escalation, potentially allowing attackers to gain rds_superuser privileges. This can lead to unauthorized data access, data manipulation, or disruption of database services, severely impacting confidentiality, integrity, and availability of critical business data. Given the widespread adoption of AWS cloud services across Europe, especially in sectors like finance, healthcare, and government, exploitation could result in regulatory non-compliance, financial losses, and reputational damage. The requirement for authenticated access limits the attack surface to insiders or compromised accounts, but the ease of exploitation and high privileges gained amplify the threat. The vulnerability could also facilitate lateral movement within cloud environments, increasing the scope of impact.

Mitigation Recommendations

European organizations should immediately upgrade all affected AWS Wrappers to the patched versions: JDBC Wrapper to v2.6.5, Go Wrapper to 2025-10-17, NodeJS Wrapper to v2.01, Python Wrapper to v1.4.0, and PGSQL ODBC driver to v1.0.1. Additionally, restrict the ability to create or execute user-defined functions to trusted and minimal sets of users. Implement strict monitoring and alerting on database function creation and privilege escalations. Employ strong authentication mechanisms and enforce least privilege principles for database users. Conduct regular audits of database roles and permissions to detect anomalies. Consider network segmentation and use of AWS security features such as IAM policies and RDS security groups to limit access. Finally, maintain up-to-date incident response plans tailored to cloud database environments.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
AMZN
Date Reserved
2025-11-10T17:36:11.337Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69122d25a4f3f0878303d256

Added to database: 11/10/2025, 6:21:25 PM

Last enriched: 11/10/2025, 6:33:18 PM

Last updated: 11/11/2025, 2:58:52 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats