Skip to content

B7: Dependencies #98

Closed
Closed

Description

@Claptar

Part of #87.

wave 1 · 0.17.4 · size S · starts after: nothing

Goal. Ship patched dependencies, and declare what the code imports.

Owns: pyproject.toml, uv.lock

Approach:

  • Bump Pillow in the lock to at least 13.0.0 and raise its floor. Also bump pygments to 2.20.0 and pytest to 9.0.3 (dev only) (F039).
  • Declare what is imported directly, put caps below the next major of zarr, h5py, numpy and typer, and test the floors in CI (F158).
  • The Docker image installs from the lock, so it picks the bump up on the next tag.

Findings

Ref Sev Finding Where
F039 H pillow 12.1.0 (78 advisories, incl. decoder heap overflows) is reachable with attacker-supplied image files src/adata/formats/image.py:69
F158 L Dependency declarations: directly imported modules are undeclared, majors are unbounded, and the floors are untested lock-time pins pyproject.toml:38

Done when one PR on fix/b7 closes this, with a regression test against an oracle for every finding, and docs and changelog in the same PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions