Skip to content

Fix encryption related security issues.#184

Merged
KGronek-Pubnub merged 5 commits into
masterfrom
CLEN-3510_security_fixes
Jun 23, 2026
Merged

Fix encryption related security issues.#184
KGronek-Pubnub merged 5 commits into
masterfrom
CLEN-3510_security_fixes

Conversation

@KGronek-Pubnub

Copy link
Copy Markdown
Contributor

fix: Fixed AES-CBC crypto header parsing for payloads with large metadata, preventing malformed encrypted input from causing panics and preserving compatibility with the existing encrypted payload format.

refactor: Harden crypto error handling against padding-oracle-style information disclosure: PKCS#7 unpadding is now constant-time, and decryption/encryption failures surface only a generic error.

@pubnub-ops-terraform

pubnub-ops-terraform commented Jun 22, 2026

Copy link
Copy Markdown

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
Licenses 0 0 0 0 0 issues

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

@jakub-grzesiowski jakub-grzesiowski left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KGronek-Pubnub

Copy link
Copy Markdown
Contributor Author

@pubnub-release-bot release as v9.0.2

@KGronek-Pubnub KGronek-Pubnub merged commit c15c986 into master Jun 23, 2026
9 of 11 checks passed
@KGronek-Pubnub KGronek-Pubnub deleted the CLEN-3510_security_fixes branch June 23, 2026 08:20
@pubnub-release-bot

Copy link
Copy Markdown
Contributor

🚀 Release successfully completed 🚀

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.

4 participants