Skip to content

Commit 613ed0b

Browse files
fix(security): patch CRITICAL Dependabot findings (python-jose 3.4.0, jspdf 4.2.1)
- python-jose[cryptography] 3.3.0 -> 3.4.0 (CVE-2024-33663 algorithm confusion) in backend + api-gateway. App uses HS256 only; encode/decode API unchanged; 3.3.0<->3.4.0 tokens cross-verifiable (rolling-deploy safe). - jspdf 4.0.0 -> 4.2.1 (CVE-2026-31938 HTML injection in new-window paths) in frontend; @babel/runtime bumped 7.28.4 -> 7.28.6 (required by jspdf 4.2.1). App uses only new jsPDF()/autoTable()/doc.save() — vulnerable output path not used. Verified: jose roundtrip + cross-version, frontend npm build, backend & frontend docker images, and Kubernetes (kind) jose 3.4.0 + frontend serve. No feature/UI behavior change; backward compatible.
1 parent b7e0e9e commit 613ed0b

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

backend/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ redis[hiredis]==5.0.1
2828
pika==1.3.2
2929

3030
# Authentication & Security
31-
python-jose[cryptography]==3.3.0
31+
python-jose[cryptography]==3.4.0 # CVE-2024-33663 fix (algorithm confusion)
3232
cryptography>=42.0.4 # CVE-2024-26130, CVE-2023-50782 fix
3333
passlib==1.7.4
3434
bcrypt==4.0.1 # Pin bcrypt version for passlib compatibility

frontend/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"cytoscape-dagre": "^2.5.0",
2121
"cytoscape-fcose": "^2.2.0",
2222
"dagre": "^0.8.5",
23-
"jspdf": "^4.0.0",
23+
"jspdf": "^4.2.1",
2424
"jspdf-autotable": "^5.0.7",
2525
"jszip": "^3.10.1",
2626
"react": "^18.2.0",

services/api-gateway/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ grpcio-tools==1.68.1
1212
protobuf>=5.29.2 # Security update
1313

1414
# Authentication & Security
15-
python-jose[cryptography]==3.3.0
15+
python-jose[cryptography]==3.4.0 # CVE-2024-33663 fix (algorithm confusion)
1616
cryptography>=42.0.4 # CVE-2024-26130, CVE-2023-50782 fix
1717
passlib[bcrypt]==1.7.4
1818
python-dotenv==1.0.0

0 commit comments

Comments
 (0)