Skip to content

fix(deps): update dependencies flagged by Snyk - #3384

Merged
kunal0137 merged 7 commits into
devfrom
fix-snyk-dependencies
Nov 24, 2026
Merged

kunal0137 merged 7 commits into
devfrom
fix-snyk-dependencies

Conversation

@kunal0137

@kunal0137 kunal0137 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Dependency updates for the Snyk Open Source findings in this repo (Maven, Python, Node).

Maven (pom.xml)

  • asm 9.9.1 -> 9.11.1, org.json 20251224 -> 20260719, json-smart 2.6.0 -> 2.6.1, objenesis 3.3 -> 3.6, kotlin-stdlib 1.9.25 -> 2.1.0
  • java-jwt pinned to 4.6.2 (livekit-server brings 4.5.0); kotlin-stdlib-common 1.9.10 excluded from okhttp
  • Removes commons-httpclient 3.1 (only used by sesame's remote HTTP/SPARQL repositories, which we do not use) and commons-configuration 1.10 (only used by ESAPI's access controller, which we do not call). A classpath scan found no other references.
  • Not changed on purpose:
    • ESAPI stays on 2.6.2.0: 2.7.0.0 blocks encodeForSQL unless opted in, and Utility plus Monolith's WebUtility.inputSanitizer call it (every request failed on a local run).
    • reactor-netty stays on 1.2.18: 1.3.x needs Netty 4.2 in both Semoss and Monolith.
    • jaxb-core: no fixed version exists.

Python (py/install_config/pyproject.toml)

  • Raised floors for pillow, nltk, filelock, pypdf, pyasn1, pydantic, certifi, pip, setuptools, gunicorn, soupsieve, pyarrow, docling-core and opentelemetry-api, using the existing dependency and override lists.
  • Major bumps: pypdf >= 7, gunicorn >= 27, soupsieve >= 4. Code under py/ was checked for APIs those versions removed.
  • No fixed version yet: torch, transformers, accelerate, langchain-community, dask, langgraph.

Node

  • js/node_env: undici 7.30.2, fast-xml-parser 5.12, papaparse 5.7.1; lockfile regenerated.
  • React template: overrides for undici, fast-uri, ip-address and minimatch (plus brace-expansion and systeminformation) in the workspace root and in client; both lockfiles regenerated. The workspace lockfile was already stale against client/package.json, which is why its diff is large.

Testing

  • mvn validate (enforcer, dependencyConvergence), dependency:tree, compile.
  • Local Tomcat with this branch plus the Monolith pins PR: clean startup, the WAR holds only the fixed versions, and 1+1, MyEngines(), GetUserInfo() and MyProjects() ran fine.
  • uv pip compile resolves the Python floors.
  • js/node_env: npm ci plus a require smoke test. React template: pnpm install --frozen-lockfile and a full build.

Notes

Best merged together with the Monolith dependency PR, which pins the same versions so the WAR does not ship older jars through the shaded Semoss artifact.

Related Snyk PRs

Independent of each other unless noted; none are stacked.

@snyk-io

snyk-io Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@kunal0137
kunal0137 marked this pull request as ready for review November 24, 2026 21:49
@kunal0137
kunal0137 requested a review from a team as a code owner November 24, 2026 21:49
@kunal0137
kunal0137 merged commit 862b109 into dev Nov 24, 2026
5 checks passed
@kunal0137
kunal0137 deleted the fix-snyk-dependencies branch November 24, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant