Skip to content

Added fuzzer#41682

Open
AdamKorcz wants to merge 2 commits into
moby:masterfrom
AdamKorcz:fuzz1
Open

Added fuzzer#41682
AdamKorcz wants to merge 2 commits into
moby:masterfrom
AdamKorcz:fuzz1

Conversation

@AdamKorcz

Copy link
Copy Markdown
Contributor

ADD FUZZER FOR /IMAGE/STORE.GO

- What I did
Added a fuzzer to /image/ with the purpose of integrating Docker into oss-fuzz.

The fuzzer passes pseudo-random test inputs into the target application - in this case the target is Create in /image - with the goal of uncovering bugs and vulnerabilities.

The fuzzer is implemented by way of go-fuzz.

- How to verify it
My suggestion at this point is to setup continuous fuzzing through oss-fuzz. I have tested the fuzzer in this PR on oss-fuzz's infrastructure, and it runs fine on there. This integration does not require this fuzzer to be merged first, but a consent on integrating Docker would be required.
Setting up continuous fuzzing will allow Google to run the fuzzers and notify maintainers if and when a bug is found.
Oss-fuzz has a 90 day public disclosure policy.
As a reference, continuous fuzzing contributed to finding this CVE in Kubernetes.

- Description for the changelog
Added a go-fuzz fuzzer for /image/store.go

Signed-off-by: Adam Korczynski [email protected]

@thaJeztah

Copy link
Copy Markdown
Member

Looks like you missed adding a dco sign-off in the commit message; https://github.com/moby/moby/pull/41682/checks?check_run_id=1413561891

can you amend the commit, and add a signed-off-by line? (let me know if you need help with that)

Signed-off-by: AdamKorcz <[email protected]>
@AdamKorcz

Copy link
Copy Markdown
Contributor Author

Thank you very much for your fast reply @thaJeztah. I managed to get the sign-off added. The error message from DCO was very helpful.

Comment thread testutil/fuzz/image_fuzz.go
@AdamKorcz

Copy link
Copy Markdown
Contributor Author

If there is anything I can do from my side, please let me know.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants