mariadb: fix CVE-2025-21490
PATCH 1/3 mariadb: fix CVE-2025-21490
From: Divya Chellam <[email protected]>
Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.0 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector:
(CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
References:
https://nvd.nist.gov/vuln/detail/CVE-2025-21490
https://security-tracker.debian.org/tracker/CVE-2025-21490
Upstream-patch:
https://github.com/MariaDB/server/commit/82310f926b7c6547f25dd80e4edf3f38b22913e5
--- meta-oe/recipes-dbs/mysql/mariadb.inc | 1 + .../mysql/mariadb/CVE-2025-21490.patch | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/CVE-2025-21490.patch
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
@@ -33,6 +33,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://CVE-2024-21096-0003.patch \ file://CVE-2024-21096-0004.patch \ file://CVE-2024-21096-0005.patch \ + file://CVE-2025-21490.patch \ " SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
meta-oe/recipes-dbs/mysql/mariadb/CVE-2025-21490.patch new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
2.40.0
PATCH 2/3 jq: fix CVE-2025-9403
From: Divya Chellam <[email protected]>
A vulnerability was determined in jqlang jq up to 1.6. Impacted is the function run_jq_tests of the file jq_test.c of the component JSON Parser. Executing manipulation can lead to reachable assertion. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Other versions might be affected as well.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-9403
Upstream-patch:
https://github.com/jqlang/jq/commit/a4d9d540103ff9a262e304329c277ec89b27e5f9
--- .../jq/jq/CVE-2025-9403.patch | 49 +++++++++++++++++++ meta-oe/recipes-devtools/jq/jq_git.bb | 1 + 2 files changed, 50 insertions(+) create mode 100644 meta-oe/recipes-devtools/jq/jq/CVE-2025-9403.patch
meta-oe/recipes-devtools/jq/jq/CVE-2025-9403.patch new file +49 -0
@@ -0,0 +1,49 @@ +From a4d9d540103ff9a262e304329c277ec89b27e5f9 Mon Sep 17 00:00:00 2001 +From: itchyny <[email protected]> +Date: Mon, 15 Sep 2025 07:47:51 +0900 +Subject: [PATCH] Fix expected value assertion for NaN value (fix #3393) + (#3408) + +CVE: CVE-2025-9403 + +Upstream-Status: Backport [https://github.com/jqlang/jq/commit/a4d9d540103ff9a262e304329c277ec89b27e5f9] + +Signed-off-by: Divya Chellam <[email protected]> +--- + src/jq_test.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/src/jq_test.c b/src/jq_test.c +index eed633f..40a1d23 100644 +--- a/src/jq_test.c ++++ b/src/jq_test.c +@@ -2,6 +2,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <math.h> + #include "jv.h" + #include "jq.h" + +@@ -200,11 +201,13 @@ static void run_jq_tests(jv lib_dirs, int verbose, FILE *testdata, int skip, int + printf(" for test at line number %u: %s\n", lineno, prog); + pass = 0; + } +- jv as_string = jv_dump_string(jv_copy(expected), rand() & ~(JV_PRINT_COLOR|JV_PRINT_REFCOUNT)); +- jv reparsed = jv_parse_sized(jv_string_value(as_string), jv_string_length_bytes(jv_copy(as_string))); +- assert(jv_equal(jv_copy(expected), jv_copy(reparsed))); +- jv_free(as_string); +- jv_free(reparsed); ++ if (!(jv_get_kind(expected) == JV_KIND_NUMBER && isnan(jv_number_value(expected)))) { ++ jv as_string = jv_dump_string(jv_copy(expected), rand() & ~(JV_PRINT_COLOR|JV_PRINT_REFCOUNT)); ++ jv reparsed = jv_parse_sized(jv_string_value(as_string), jv_string_length_bytes(jv_copy(as_string))); ++ assert(jv_equal(jv_copy(expected), jv_copy(reparsed))); ++ jv_free(as_string); ++ jv_free(reparsed); ++ } + jv_free(expected); + jv_free(actual); + } +-- +2.40.0 +
meta-oe/recipes-devtools/jq/jq_git.bb +1 -0
@@ -15,6 +15,7 @@ SRC_URI = " \ file://CVE-2025-48060.patch \ file://CVE-2024-53427-01.patch \ file://CVE-2024-53427-02.patch \ + file://CVE-2025-9403.patch \ " SRCREV = "a9f97e9e61a910a374a5d768244e8ad63f407d3e" S = "${WORKDIR}/git"
Signature · 1 line
2.40.0
PATCH 3/3 mariadb: fix CVE-2025-30722
In reply to dchellamFrom: Divya Chellam <[email protected]>
Vulnerability in the MySQL Client product of Oracle MySQL (component:
Client: mysqldump). Supported versions that are affected are 8.0.0-8.0.41, 8.4.0-8.4.4 and 9.0.0-9.2.0. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Client accessible data as well as unauthorized update, insert or delete access to some of MySQL Client accessible data. CVSS 3.1 Base Score 5.9 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N).
Reference:
https://security-tracker.debian.org/tracker/CVE-2025-30722
Upstream-patch:
https://github.com/MariaDB/server/commit/6aa860be27480db134a3c71065b9b47d15b72674
--- meta-oe/recipes-dbs/mysql/mariadb.inc | 1 + .../mysql/mariadb/CVE-2025-30722.patch | 176 ++++++++++++++++++ 2 files changed, 177 insertions(+) create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/CVE-2025-30722.patch
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
@@ -34,6 +34,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://CVE-2024-21096-0004.patch \ file://CVE-2024-21096-0005.patch \ file://CVE-2025-21490.patch \ + file://CVE-2025-30722.patch \ " SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
meta-oe/recipes-dbs/mysql/mariadb/CVE-2025-30722.patch new file +176 -0
176 lines not on this page · raw message
Signature · 1 line
2.40.0