A flaw was found in MariaDB Connector/J. The database connector fails to properly validate changes to the result character set and incorrectly assumes all returned data is UTF-8 encoded. A malicious database server or an attacker intercepting network communication (a machine-in-the-middle attacker) can alter the character set without notification, causing database responses to decode into unexpected text strings. This discrepancy may allow an attacker to bypass application-side input validation, sanitization, or escaping mechanisms.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:HA:N5.9/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N