-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
dependenciesDependency updatesDependency updatessecuritySecurity-related changes or concernsSecurity-related changes or concerns
Description
Summary
The aws-lc-sys Rust crate at version 0.32.3 has three High severity vulnerabilities. This is a transitive dependency in the Rust HTTP connector broker, pulled in via the rustls → aws-lc-rs → aws-lc-sys dependency chain. The fix version (>= 0.38.0) should be reachable via cargo update.
Grype ignore rules were added in PR #240 to unblock CI. This issue tracks the actual dependency fix and subsequent removal of those ignore rules.
Severity
High — 3 vulnerabilities
Affected Files
src/500-application/502-rust-http-connector/services/broker/Cargo.lock— aws-lc-sys 0.32.3src/500-application/502-rust-http-connector/services/broker/Cargo.toml— direct dependencyrustls = "0.23.8"(resolves to 0.23.33, which transitively pulls aws-lc-sys)
Dependency Chain
rustls 0.23.33
└── aws-lc-rs 1.14.1
└── aws-lc-sys 0.32.3 ← vulnerable
rustls-webpki 0.103.7
└── aws-lc-rs 1.14.1
└── aws-lc-sys 0.32.3 ← vulnerable
aws-lc-sys is not a direct dependency. It is transitive via aws-lc-rs, which is used by rustls and rustls-webpki.
Vulnerability Details
| Advisory | Severity | Fixed In |
|---|---|---|
| GHSA-65p9-r9h6-22vj | High | aws-lc-sys >= 0.38.0 |
| GHSA-hfpc-8r3f-gw53 | High | aws-lc-sys >= 0.38.0 |
| GHSA-vw5v-4f2q-w9xf | High | aws-lc-sys >= 0.38.0 |
Remediation Steps
- In
src/500-application/502-rust-http-connector/services/broker/, runcargo updateto pull the latest compatible versions ofaws-lc-rsandaws-lc-sys - If
cargo updatealone does not pull aws-lc-sys >= 0.38.0, consider updating therustlsversion constraint inCargo.toml(currently"0.23.8") - Verify
Cargo.lockno longer references aws-lc-sys < 0.38.0 - Remove the three grype ignore rules from
.grype.yaml:GHSA-65p9-r9h6-22vjGHSA-hfpc-8r3f-gw53GHSA-vw5v-4f2q-w9xf
- Run grype locally to confirm the findings are resolved:
grype dir:. --config .grype.yaml - Build and test the broker to verify no regressions:
cargo build && cargo test
Acceptance Criteria
-
aws-lc-sysupdated to >= 0.38.0 in brokerCargo.lock - Grype ignore rules for
GHSA-65p9-r9h6-22vj,GHSA-hfpc-8r3f-gw53,GHSA-vw5v-4f2q-w9xfremoved from.grype.yaml - Rust broker builds and tests pass
- CI Security Scan passes without the ignore rules
Related
- PR build(ci): replace MegaLinter with per-tool GitHub Actions lint workflows #240 — Introduced grype CI scanning and temporary ignore rules
- GHSA-65p9-r9h6-22vj
- GHSA-hfpc-8r3f-gw53
- GHSA-vw5v-4f2q-w9xf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesDependency updatesDependency updatessecuritySecurity-related changes or concernsSecurity-related changes or concerns