| Summary: | Document risks and assumptions for shared "downloads" directories | ||
|---|---|---|---|
| Product: | [Documentation] Development Manual | Reporter: | Randy MacLeod <randy.macleod> |
| Component: | development | Assignee: | Paul Barker <paul> |
| Status: | ACCEPTED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | antonin.godard, daniel.ammann, richard.purdie |
| Version: | 6.0 | ||
| Target Milestone: | 6.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Randy MacLeod
2025-12-16 16:50:47 UTC
The case we have is that we have a shared download cache. The we have normal CI builds that use it and also official release builds. The assumption has been that it is fine to share the download cache between these types of builds since everything is protected by either Git SHA-1s, or SRC_URI[sha256sum] checksums. However, what we have realized is that a malicious user can modify the actual Git blobs that are stored in the download cache without Git noticing this has happened when fetching the repository into the build tree. Thus the malicious user can run a developer build in CI that does this, and it will later affect an official release build. Do you have a proposal for how we should detect this rather than only documenting the risk? Paul and Richard to write a draft for Antonin. |