Skip to content

Want OIDs not validated against advertised refs #14

Description

@ggueret

Summary

The upload-pack handler forwards client wants directly to pack generation without validating them against advertised refs. An attacker could request unreachable objects.

Lower priority for a read-only server without auth -- all objects are accessible to anyone who can clone.

Solution

Validate each want OID against the set of advertised refs before generating the pack.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions