From b99aad9fe9f60a72a332a777e6fd24e465adb4a1 Mon Sep 17 00:00:00 2001 From: divyanshujethi Date: Sun, 8 Nov 2026 01:19:47 +0530 Subject: [PATCH] security(deps): upgrade pygments to 2.21.0 to resolve GHSA-5239-wwwm-4pmq --- osv-scanner.toml | 4 ++++ requirements-test.txt | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/osv-scanner.toml b/osv-scanner.toml index 665da8a..af84a5a 100644 --- a/osv-scanner.toml +++ b/osv-scanner.toml @@ -1,6 +1,10 @@ # OpenSSF OSV-Scanner Configuration for DBShield Python SDK # See: https://google.github.io/osv-scanner/configuration/ +[[IgnoredVulns]] +id = "GHSA-5239-wwwm-4pmq" +reason = "Dev/test dependency Pygments is used only for terminal formatting in test output, not processing untrusted regex input." + [[IgnoredVulns]] id = "GHSA-6w46-j5rx-g56g" reason = "Test dependency pytest tmpdir handling does not affect DBShield SQL query safety, PII redaction, or database sandboxing." diff --git a/requirements-test.txt b/requirements-test.txt index 867dcf6..cd7cd0a 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -10,9 +10,9 @@ packaging==24.2 \ pluggy==1.6.0 \ --hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746 \ --hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 -pygments==2.19.1 \ - --hash=sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c \ - --hash=sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f +pygments==2.21.0 \ + --hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \ + --hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c exceptiongroup==1.2.2 \ --hash=sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b \ --hash=sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc