Skip to content

Dependency bumps + SonarCloud fix: pyjwt security fix + routine updates#1017

Closed
AevumDecessus wants to merge 24 commits into
masterfrom
dev
Closed

Dependency bumps + SonarCloud fix: pyjwt security fix + routine updates#1017
AevumDecessus wants to merge 24 commits into
masterfrom
dev

Conversation

@AevumDecessus
Copy link
Copy Markdown
Contributor

@AevumDecessus AevumDecessus commented May 27, 2026

Merges dependency updates and workflow fixes from dev to master. The pyjwt update is the primary driver -- it is a security release.

Security

pyjwt 2.12.1 -> 2.13.0 (#1013) - security release, 5 CVEs

The most critical fix is GHSA-xgmm-8j9v-c9wx: JWK JSON accepted as HMAC secret (algorithm confusion). A JWK passed as a raw JSON string to HMACAlgorithm.prepare_key was not rejected, allowing an attacker to substitute an asymmetric public key as an HMAC secret -- a classic JWT algorithm confusion attack. pyjwt is used by django-oauth-toolkit (OAuth2) and social-auth-app-django (Discord OAuth login), both in the authentication path.

Workflow fixes

Fix SonarCloud JRE provisioning 403 (#1018) - sonarqube-scan-action v7 introduced a JRE provisioning step that calls /analysis/jres on the SonarCloud API, which requires a Scoped Organization Token unavailable on the free open source plan. Added actions/setup-java so the scanner uses the system JRE and skips the provisioning call entirely.

Bump actions/setup-java from v4 to v5.2.0 (#1019) - v4 runs on Node.js 20 which GitHub Actions deprecated June 2, 2026. v5.2.0 targets Node.js 24.

Routine dependency bumps

Test plan

  • PR checks pass
  • SonarCloud Quality Gate passes

dependabot Bot and others added 16 commits May 21, 2026 02:14
Bumps [certifi](https://github.com/certifi/python-certifi) from 2026.4.22 to 2026.5.20.
- [Commits](certifi/python-certifi@2026.04.22...2026.05.20)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.5.20
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [aiohappyeyeballs](https://github.com/aio-libs/aiohappyeyeballs) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/aio-libs/aiohappyeyeballs/releases)
- [Changelog](https://github.com/aio-libs/aiohappyeyeballs/blob/main/CHANGELOG.md)
- [Commits](aio-libs/aiohappyeyeballs@v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: aiohappyeyeballs
  dependency-version: 2.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ls-2.6.2

Bump aiohappyeyeballs from 2.6.1 to 2.6.2
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](jpadilla/pyjwt@2.12.1...2.13.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [idna](https://github.com/kjd/idna) from 3.15 to 3.16.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.15...v3.16)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.16'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [click](https://github.com/pallets/click) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.4.0...8.4.1)

---
updated-dependencies:
- dependency-name: click
  dependency-version: 8.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.14.0...7.14.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
sonarqube-scan-action v7 introduced a JRE provisioning step that calls /analysis/jres on the SonarCloud API. This endpoint requires a Scoped Organization Token, which is a paid feature unavailable on the free open source plan. The personal access token returns HTTP 403, breaking all SonarCloud Analysis runs.

Fix: add actions/setup-java before the scan steps. The scanner checks JAVA_HOME before attempting JRE provisioning -- when a system JRE is present it skips the /analysis/jres call entirely, bypassing the 403.
…ioning

Fix SonarCloud JRE provisioning 403 on free plan
v4 (c1e3236) runs on Node.js 20 which GitHub is deprecating June 2, 2026. v5.2.0 (be666c2) targets Node.js 24 and is the current latest release.
Bump actions/setup-java from v4 to v5.2.0 in sonar workflow
@AevumDecessus AevumDecessus changed the title Dependency bumps: pyjwt security fix + routine updates Dependency bumps + SonarCloud fix: pyjwt security fix + routine updates May 27, 2026
dependabot Bot and others added 4 commits May 29, 2026 01:42
Bumps [idna](https://github.com/kjd/idna) from 3.16 to 3.17.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.16...v3.17)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.17'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [redis](https://github.com/redis/redis-py) from 7.4.0 to 8.0.0.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](redis/redis-py@v7.4.0...v8.0.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@AevumDecessus
Copy link
Copy Markdown
Contributor Author

Additional changes landed on dev since this PR was opened:

redis 8.0.0 testing

Verified locally against the redis-8 branch before merging, using redis-py 8.0.0 and django-redis 6.0.0:

  • django-redis cache: set, get, delete, and incr all behaved correctly
  • Direct Redis ping on all 5 DB indexes (0-4): all passed
  • Celery broker connection: connected and verified against DB 1

Full test suite (570 tests) also passed. No issues found.

dependabot Bot and others added 4 commits June 1, 2026 03:01
Bumps [pip](https://github.com/pypa/pip) from 26.1.1 to 26.1.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](pypa/pip@26.1.1...26.1.2)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: 26.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [django-oauth-toolkit](https://github.com/django-oauth/django-oauth-toolkit) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/django-oauth/django-oauth-toolkit/releases)
- [Changelog](https://github.com/django-oauth/django-oauth-toolkit/blob/master/CHANGELOG.md)
- [Commits](django-oauth/django-oauth-toolkit@3.2.0...3.3.0)

---
updated-dependencies:
- dependency-name: django-oauth-toolkit
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…oolkit-3.3.0

Bump django-oauth-toolkit from 3.2.0 to 3.3.0
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

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