Skip to content

0.2.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:28
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.
0.2.1
d3a7686

Security hardening from a manual review, environment variables and Docker/Kubernetes secrets, and a CycloneDX SBOM. (0.2.0 was never published; this release includes it.)

Security fixes

  • Typed JMX URLs (--allow-connect) are limited to service:jmx:rmi:///jndi/rmi://host:port/name: JNDI/LDAP injection and caller-supplied stubs are refused; --connect-allow-host can pin hosts.
  • Process-wide deserialization filter for data coming from monitored JVMs (JDK management/RMI types only, with depth/size limits; --no-serial-filter to opt out).
  • Wrong bearer tokens are throttled; Basic auth no longer creates a session per request; failed-login limiting uses the real client address behind trusted proxies.
  • The local JVM list shows the main class only (no arguments, which often hold secrets).
  • OIDC sign-in starts are rate limited; __Host- cookies over https.
  • Request read timeout and a bounded thread pool against slow-client attacks.
  • Audit log on standard error: sign-ins, failed sign-ins, writes and refused writes (written values are never logged; log injection is prevented).
  • ldap:// is refused off loopback; the connect endpoint requires a JSON content type.
  • Docker image: OpenSSL upgraded (CVE-2026-124709).

Configuration

  • Every option is an environment variable: JCONSOLE_WEB_<OPTION> (list options take comma/newline lists); the command line wins.
  • Secrets can come from files: JCONSOLE_WEB_TOKEN_FILE, JCONSOLE_WEB_JMX_PASSWORD_FILE, JCONSOLE_WEB_OIDC_CLIENT_SECRET_FILE. A secret and its file together is an error.
  • The image is configured by environment alone (see the Compose example with Docker secrets in the README).

Supply chain

  • CycloneDX 1.6 SBOM (.cdx.json, .cdx.xml) next to the jar, listed in SHA256SUMS; build provenance and SBOM attestations for the jar.
  • Verify: sha256sum -c SHA256SUMS and gh attestation verify jconsole-web-0.2.1.jar --repo hbenali/jconsole-web.

Get it

  • Docker: hbenali/jconsoleweb:0.2.1 or ghcr.io/hbenali/jconsoleweb:0.2.1 (amd64, arm64; Azul Zulu 25, non-root).
  • Jar: attached below (Java 17+, no dependencies).