Skip to content

4.3.1

Latest

Choose a tag to compare

@Spomky Spomky released this 04 Dec 09:04
· 2 commits to 4.4.x since this release
4.3.1
fe0c902

Release Notes for 4.3.1

4.3.x bugfix release (patch)

4.3.1

  • Total issues resolved: 0
  • Total pull requests resolved: 0
  • Total contributors: 0

Security

This release fixes two advisories.

GHSA-9wrh-rc32-f9pr (high). The shared headers of a JWE in the general JSON serialization were processed again for each recipient. With header names chosen to collide in PHP arrays and no maximum number of recipients, a 117 KB token took about 30 s to reject. JSONGeneralSerializer::unserialize() now refuses a JWE whose number of shared header parameters multiplied by its number of recipients is greater than 4,096, with a JsonBoundExceededException. A token with 10 recipients can share up to 409 header parameters.

GHSA-p254-mv9f-8qjr (moderate, 4.2.7 and later). ECDH-SS decryption used any private key of the key set as the private key of the agreement, an RSA key included, whose leading bits can be computed from its public key. A third party could then forge tokens of the trusted sender. The static private key must now have a key type the algorithm accepts (InvalidKeyException, Wrong key type.) and the curve of the public key (RuntimeException, Unable to derive the key). JWEBuilder::withSenderKey() applies the same check.

Both were reported by Anthropic's OSS Scanner (ANT-2026-9DOF57KL, ANT-2026-WICZ1812).