Skip to content

0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:25
Immutable release. Only release title and notes can be modified.
0.3.1
932894d

Security fixes

Findings from GitHub's AI scan, each checked against the code and fixed with a regression test that fails without the fix.

  • OIDC e-mail: an e-mail address counted as verified when the provider did not send email_verified, and the user name fell back to the unverified e-mail, so --allowed-user, --allowed-email-domain and --admin-user could match it. Now only email_verified: true counts and an unverified e-mail is never the identity. Providers that never send the claim (some Entra ID setups) should use --allowed-group or --oidc-user-claim.
  • Sessions follow the users file: a form session is tied to its users-file entry and checked on every request, so removing a user, changing a password or changing a role applies at once instead of after 12 hours.
  • LDAP and roles: an explicit viewer or admin in the users file is kept when LDAP accepts the password, so a viewer cannot become admin through the directory.
  • JMX values: the conversion of attribute values has a total size budget. A monitored JVM could return a small structure of shared references that expanded to hundreds of billions of values and exhausted the console's memory.
  • Token links: the printed link is now http://host:port/#token=.... The fragment never reaches the server, a proxy or an access log, and the page removes it from the address bar. /?token=... is no longer accepted.

Fixed

  • The sign-in form was refused by real browsers (HTTP 403): with Referrer-Policy: no-referrer they send Origin: null on form posts. That is now accepted only together with Sec-Fetch-Site: same-origin, so posts from other sites are still refused.

Docs

  • Reverse proxy: the proxy must append to X-Forwarded-For (nginx $proxy_add_x_forwarded_for); the nginx example has the line. An explicit users-file role winning over --admin-user is documented.

Verify

sha256sum -c SHA256SUMS
gh attestation verify jconsole-web-0.3.1.jar --owner hbenali
docker pull hbenali/jconsoleweb:0.3.1    # or ghcr.io/hbenali/jconsoleweb:0.3.1 (amd64, arm64)

SBOM: jconsole-web-0.3.1.cdx.json / .xml (CycloneDX 1.6).