Juniper Canopy: Ephemeral Eukaryote #28
pcalnon
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
JuniperCanopy v0.15.1-alpha – 🔒 SECURITY PATCH RELEASE
Release Date: 2023-04-11
Release Type: Security Patch
Priority: High
Package Affected: JuniperCanopy
This is a security-focused point release addressing a critical vulnerability in a transitive dependency (
urllib3). All users whose environments resolveurllib3to version 2.6.2 or earlier are strongly advised to upgrade.JuniperCanopy is a real-time monitoring and diagnostic frontend for Cascade Correlation Neural Networks (CasCor). This release does not introduce new features; it focuses on security hardening.
Security Impact (Critical)
urllib3≤2.6.2urllib32.6.3In environments where JuniperCanopy makes HTTP requests to untrusted sources using the streaming API (
preload_content=False), an attacker could exploit a flaw in redirect handling. When following HTTP redirects, urllib3 would:A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data), constituting a decompression bomb attack.
JuniperCanopy relies on
urllib3for HTTP operations, so installations using the vulnerableurllib3version inherit this risk.Reference: Dependabot security advisory
Affected Versions
JuniperCanopy deployments are affected if both of the following are true:
urllib3≤2.6.2), andurllib3to 2.6.2 or earlier (for example, viapip, a requirements file, or a lockfile that includes this version).Any JuniperCanopy environment that installs
urllib3<=2.6.2is potentially vulnerable.Remediation / Upgrade Instructions
Recommended action: Upgrade to JuniperCanopy v0.15.1-alpha and ensure
urllib3is at least 2.6.3.1. Upgrade JuniperCanopy
If using Git directly:
git fetch origin git checkout v0.15.1-alpha # Rebuild / reinstall your environment as usualIf using a dependency manager (e.g.,
requirements.txt,pyproject.toml, or a lockfile):2. Ensure a Safe
urllib3VersionIn your dependency definitions, explicitly require:
Then reinstall dependencies, for example:
pip install --upgrade -r requirements.txt # or your project's equivalent install commandTemporary Mitigation (Not a Substitute for Upgrading)
If you cannot immediately update JuniperCanopy, you should at minimum:
urllib3to 2.6.3 (or later) in your environmentredirect=Falsefor requests to untrusted sourcesHowever, the recommended and supported remediation is to upgrade to v0.15.1-alpha.
Changes in v0.15.1-alpha
Security
urllib3≤2.6.2 → 2.6.3Testing & Quality
These results cover the updated dependency set and related code paths.
Upgrade Recommendation
We recommend that all users, especially those running JuniperCanopy in environments that make HTTP requests to untrusted sources, upgrade to v0.15.1-alpha as soon as practicable.
If you encounter issues during upgrade or have questions about this advisory, please open an issue in this repository (avoiding sensitive environment details in public tickets). We will coordinate on secure channels as needed.
References
What's Changed
Full Changelog: pcalnon/juniper-ml@v0.15.0-alpha...v0.15.1-alpha
This discussion was created from the release Juniper Canopy: Ephemeral Eukaryote.
Beta Was this translation helpful? Give feedback.
All reactions