Bug 2512024

Summary: CVE-2026-69240 sgx-pccs: Sequelize: SQL Injection via improper handling of Oracle date functions [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: sgx-pccsAssignee: Daniel Berrangé <berrange>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 45CC: berrange
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["c4f6296a-9698-4618-be84-1c19ce10ce41"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2510799    

Description Marian Rehak 2026-08-06 13:19:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Sequelize is a Node.js ORM tool. Prior to 6.37.4, SQL injection is possible with strings only if dialect is set to oracle. The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE. In the Oracle dialect, when val is a string and starts with TO_TIMESTAMP or TO_DATE, escape returns val directly instead of replacing single quotes. An attacker can inject arbitrary SQL expressions through an application value that reaches this escape path. This issue is fixed in version 6.37.4.

Comment 1 Aoife Moloney 2026-08-17 15:48:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.