Commit Graph

11240 Commits

Author SHA1 Message Date
Robin Freyler 1a0c648239
wasmi: initial integration (#12665)
This proposes to add the [Wasmi
project](https://github.com/wasmi-labs/wasmi) to OSS-fuzz.

Wasmi is an efficient WebAssembly interpreter especially suited for
embedded environments similar to
[Wasm3](https://github.com/google/oss-fuzz/tree/master/projects/wasm3).
It has [over 7M downloads on crates.io](https://crates.io/crates/wasmi),
a Rust and C API, and is used as security critical component in several
big projects, especially in the blockchain industry. Recently [Wasmi has
been added as backend by the Wasmer
project](https://wasmer.io/posts/introducing-wasmer-v5) which is also
registered in OSS-fuzz.

2 audits have been conducted for Wasmi so far which (amongst others)
concluded that Wasmi ideally should be registered to the OSS-fuzz
project if possible.

~~Unfortunately I could not test the `Dockerfile` and shell script
locally due to this issue:
https://github.com/google/oss-fuzz/pull/10967~~

---

This adds the 3 fuzzing targets provided by the Wasmi project,
[`translate`], [`execute`] and [`differential`].
The setup is very simple since it mostly uses the recommended
`cargo-fuzz`.

[`translate`]:
https://github.com/wasmi-labs/wasmi/blob/main/fuzz/fuzz_targets/translate.rs
[`execute`]:
https://github.com/wasmi-labs/wasmi/blob/main/fuzz/fuzz_targets/execute.rs
[`differential`]:
https://github.com/wasmi-labs/wasmi/blob/main/fuzz/fuzz_targets/differential.rs

---------

Co-authored-by: Vitor Guidi <vitorguidi@gmail.com>
2025-01-10 14:51:43 -03:00
Patrick f742e6602d
libsoup: Configure project (#12925)
This contains the initial build files for the project.
2025-01-10 10:52:12 +00:00
Tristan Matthews 3675fa9bf6
speex: fix configure option for fixed-point (#12928)
Before this was issuing:
> configure: WARNING: unrecognized options: --enable-fixed
2025-01-10 10:51:30 +00:00
manunio b59dc2e691
bson-rust: fix build (#12923)
Fixes: https://issues.oss-fuzz.com/issues/385993733
2025-01-09 16:39:17 +00:00
Vincent Rabaud 50ef6d25e4
opencv: build with GIF support (#12927)
This will help fuzz more inputs
2025-01-09 16:38:52 +00:00
AdamKorcz e4fc981010
golang: fix nit in fuzzer (#12926)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-09 13:51:29 +00:00
AdamKorcz 879cb1831a
golang add dsa fuzzer (#12924)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-08 22:47:40 +00:00
AdamKorcz 5abfe355c7
cockroachdb: use go 1.22 (#12922)
Fixes
https://github.com/google/oss-fuzz/pull/12912#issuecomment-2577401661

Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-08 12:28:39 +00:00
Roland Bracewell Shoemaker 530e34d85b
Upgrade to Go 1.23.4 (#12912)
Additionally, don't override the go.mod version for the http2/hc fuzz
case.

This fixes a handfull of build failures in the golang project.

Co-authored-by: DavidKorczynski <david@adalogics.com>
2025-01-08 11:06:35 +00:00
AdamKorcz 41c01c9190
dgraph: fix broken build (#12920)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-08 11:04:21 +00:00
AdamKorcz 6d2d313441
golang: add ecdsa fuzzer (#12918)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-08 10:30:05 +00:00
Oliver Chang 11b6cd91b2
Update project.yaml 2025-01-08 13:20:17 +11:00
Tyler Gregg 0a5af590b9
ion-java: update CCs to include project maintainers and increase verbosity of build logs. (#11892)
* Replace current CCs with the project maintainers.
* Add more info to the build to make errors easier to diagnose.

---------

Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
2025-01-08 09:12:53 +11:00
AdamKorcz 82970a4778
golang: avoid false positive in fuzzer (#12916)
Avoid https://issues.oss-fuzz.com/issues/388081047

Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-07 19:14:04 +00:00
Arthur Chan e2046df8bb
[Starnix-netlink] Fix build (#12917)
This PR fixes the build fail in project starnix-netlink.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2025-01-07 19:10:38 +00:00
DavidKorczynski 946ba48ddc
add further contacts (#12915)
Signed-off-by: David Korczynski <david@adalogics.com>
2025-01-07 17:53:11 +00:00
Arthur Chan 0e70592e7f
ttf-parser: project initialisation (#12663)
This PR initialises OSS-Fuzz integration for the ttf-parser project in
Rust.

---------

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2025-01-07 17:25:14 +00:00
Arthur Chan 90c0cbbb07
Unsafe-libyaml: project integration (#12625)
This PR initialises OSS-Fuzz integration for project unsafe-libyaml in
Rust, adopting the existing fuzzers from upstream repository.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2025-01-07 16:14:46 +00:00
DavidKorczynski 5c8b34e436
infra: trial build: fix missing f-string (#12913)
Signed-off-by: David Korczynski <david@adalogics.com>
2025-01-07 15:50:15 +00:00
Catena cyber 9c210fdf12
infra: update golang to latest minor version of 1.22 (#12801)
cc @guidovranken as I see cryptofuzz is using go1.22.7

Should fix ngolo-fuzzing build failure 
https://issues.oss-fuzz.com/issues/379159151

> go tool dist: go1.22.1 does not meet the minimum bootstrap requirement
of go1.22.6 or later

Co-authored-by: DavidKorczynski <david@adalogics.com>
2025-01-07 10:56:21 +00:00
Mirco Miranda 34680de685
KImageFormats: add JPEG 2000 plugin (#12893)
Add the JPEG 2000 plugin to fuzz tests.

To compile it requires merging the [JP2
plugin](https://invent.kde.org/frameworks/kimageformats/-/merge_requests/301)
2025-01-06 17:20:43 +00:00
Antoine Pitrou b3a20232ce
arrow: Add Matt Topol to ccs (#12909)
Matt Topol (GitHub id "zeroshade") is a Apache Arrow PMC member and
committer.
2025-01-06 17:19:54 +00:00
AdamKorcz f1c00f6675
golang: fix broken build (#12908)
Needed to bump golang version.

Signed-off-by: Adam Korczynski <adam@adalogics.com>
2025-01-06 14:49:10 +00:00
Dominik Stadler 922fc407a7
Apache poi add missing limits and revert log4j workaround (#12905)
Issue https://issues.oss-fuzz.com/issues/42537716 is caused by a missing
lower limit which we adjust for other fuzz-targets already to adjust for
the available memory which oss-fuzz uses.

This PR applies the limit in two more places and removes a workaround
for a version-incompatibility in log4j 2.24.1 and an issue with
pom-dependencies in XMLBeans.
2025-01-06 08:11:24 +00:00
tyler92 4c217fb7f2
uriparser: move fuzz targets upstream (#12906)
Upstream PR: https://github.com/uriparser/uriparser/pull/209

CC: @hartwork
2025-01-06 08:10:24 +00:00
tsdgeos c8ac14c446
Update boost, fixes build (#12903) 2025-01-04 15:56:43 +00:00
Andrew Murray 7c0e0bea5e
[Pillow] Removed yum symlinks (#12904)
2ef5c1fd8b/projects/pillow/Dockerfile (L32-L33)

These lines can be removed. Pillow no longer needs to suppress errors
when calling yum.

They would have been there originally because
- multibuild called `yum_install` for installing
[zlib](42d761728d/library_builders.sh (L144))
and
[`cmake`](42d761728d/library_builders.sh (L217)),
but https://github.com/python-pillow/pillow-wheels/pull/204 and
https://github.com/python-pillow/Pillow/pull/8593 mean that those are
used anymore.
- Pillow called `yum` to remove zlib-devel, but that is no longer the
case after https://github.com/python-pillow/Pillow/pull/8658

cc @hugovk

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-04 15:56:23 +00:00
Lukasz Lenart 2ef5c1fd8b
Upgrades to support Struts 7 (#12901)
PR updates oss-fuzz to support the latest Struts 7 which uses Java 17
and JakartaEE 6.0
2025-01-03 22:04:51 +00:00
Tristan Matthews 3fce4b3532
libtheora: change oss-fuzz-fuzzers fork (#12902)
The original has since been deleted and this was breaking the build.

Fixes https://issues.oss-fuzz.com/issues/380409700
2025-01-03 22:03:49 +00:00
Oliver Stöneberg c3506f8671
cppcheck: build with all available processes (#12900)
this did not have any effect back when it was integrated but the
Makefile has been refactored since to leverage this.
2025-01-02 22:07:23 +00:00
Adi (Suissa) Peleg 5739fe811c
[envoy] fix build failure due to bazel issue (#12895)
Fixes a build issue:
```
ERROR: /root/.cache/bazel/_bazel_root/4e9824db8e7d11820cfa25090ed4ed10/external/com_google_absl/absl/types/BUILD.bazel:178:11: Compiling absl/types/bad_variant_access.cc [for tool] failed: undeclared inclusion(s) in rule '@@com_google_absl//absl/types:bad_variant_access':
Step #3 - "compile-honggfuzz-address-x86_64": this rule is missing dependency declarations for the following files included by 'absl/types/bad_variant_access.cc':
Step #3 - "compile-honggfuzz-address-x86_64":   'bazel-out/k8-opt-exec-ST-13d3ddad9198/bin/external/com_google_absl/absl/base/core_headers.cppmap'
Step #3 - "compile-honggfuzz-address-x86_64":   'bazel-out/k8-opt-exec-ST-13d3ddad9198/bin/external/com_google_absl/absl/base/atomic_hook.cppmap'
```

This seems to be due to an issue in bazel:
https://github.com/bazelbuild/bazel/issues/23681
The current fix follows the abseil-cpp fuzz fix:
https://github.com/google/oss-fuzz/pull/12858

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
2025-01-02 20:02:52 +00:00
DavidKorczynski 860c023a1b
vscode: use latest FI and adjust runner (#12898)
Signed-off-by: David Korczynski <david@adalogics.com>
2025-01-02 19:45:33 +00:00
Bo Chen 257bee3262
[cloud-hypervisor] Update contact information (#12897)
Switch to use my personal gmail for future oss-fuzz related
communications.

Signed-off-by: Bo Chen <bo.arvin.chen@gmail.com>
2025-01-02 19:41:13 +00:00
Oliver Stöneberg 39905a494e
cppcheck: perform shallow clone / added cc (#12886)
Co-authored-by: DavidKorczynski <david@adalogics.com>
2025-01-02 15:07:04 +00:00
dependabot[bot] 2e0e917957
build(deps-dev): bump rexml from 3.3.6 to 3.3.9 in /docs in the bundler group (#12770)
Bumps the bundler group in /docs with 1 update:
[rexml](https://github.com/ruby/rexml).

Updates `rexml` from 3.3.6 to 3.3.9
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ruby/rexml/releases">rexml's
releases</a>.</em></p>
<blockquote>
<h2>REXML 3.3.9 - 2024-10-24</h2>
<h3>Improvements</h3>
<ul>
<li>Improved performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/210">GH-210</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>Fixed a parse bug for text only invalid XML.</p>
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/215">GH-215</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
<li>
<p>Fixed a parse bug that <code>&amp;#0x...;</code> is accepted as a
character
reference.</p>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>NAITOH Jun</li>
</ul>
<h2>REXML 3.3.8 - 2024-09-29</h2>
<h3>Improvements</h3>
<ul>
<li>SAX2: Improve parse performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/207">GH-207</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fixed a bug that unexpected attribute namespace conflict error for
the predefined &quot;xml&quot; namespace is reported.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/208">GH-208</a></li>
<li>Patch by KITAITI Makoto</li>
</ul>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>
<p>NAITOH Jun</p>
</li>
<li>
<p>KITAITI Makoto</p>
</li>
</ul>
<h2>REXML 3.3.7 - 2024-09-04</h2>
<h3>Improvements</h3>
<ul>
<li>Added local entity expansion limit methods
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/192">GH-192</a></li>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/202">GH-202</a></li>
<li>Reported by takuya kodama.</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ruby/rexml/blob/master/NEWS.md">rexml's
changelog</a>.</em></p>
<blockquote>
<h2>3.3.9 - 2024-10-24 {#version-3-3-9}</h2>
<h3>Improvements</h3>
<ul>
<li>Improved performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/210">GH-210</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>Fixed a parse bug for text only invalid XML.</p>
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/215">GH-215</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
<li>
<p>Fixed a parse bug that <code>&amp;#0x...;</code> is accepted as a
character
reference.</p>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>NAITOH Jun</li>
</ul>
<h2>3.3.8 - 2024-09-29 {#version-3-3-8}</h2>
<h3>Improvements</h3>
<ul>
<li>SAX2: Improve parse performance.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/207">GH-207</a></li>
<li>Patch by NAITOH Jun.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fixed a bug that unexpected attribute namespace conflict error for
the predefined &quot;xml&quot; namespace is reported.
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/208">GH-208</a></li>
<li>Patch by KITAITI Makoto</li>
</ul>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>
<p>NAITOH Jun</p>
</li>
<li>
<p>KITAITI Makoto</p>
</li>
</ul>
<h2>3.3.7 - 2024-09-04 {#version-3-3-7}</h2>
<h3>Improvements</h3>
<ul>
<li>Added local entity expansion limit methods
<ul>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/192">GH-192</a></li>
<li><a
href="https://redirect.github.com/ruby/rexml/issues/202">GH-202</a></li>
<li>Reported by takuya kodama.</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="38eaa86ac7"><code>38eaa86</code></a>
Add 3.3.9 entry</li>
<li><a
href="ce59f2eb1a"><code>ce59f2e</code></a>
parser: fix a bug that &amp;#0x...; is accepted as a character
reference</li>
<li><a
href="a09646d395"><code>a09646d</code></a>
test: fix indent</li>
<li><a
href="cf0fb9c9ca"><code>cf0fb9c</code></a>
Fix <code>IOSource#readline</code> for <code>@pending_buffer</code> (<a
href="https://redirect.github.com/ruby/rexml/issues/215">#215</a>)</li>
<li><a
href="1d0c362526"><code>1d0c362</code></a>
Optimize <code>IOSource#read_until</code> method (<a
href="https://redirect.github.com/ruby/rexml/issues/210">#210</a>)</li>
<li><a
href="622011f25a"><code>622011f</code></a>
Bump version</li>
<li><a
href="036d50851c"><code>036d508</code></a>
test: avoid using needless non ASCII characters</li>
<li><a
href="4197054a19"><code>4197054</code></a>
Add 3.3.8 entry</li>
<li><a
href="78f8712dcc"><code>78f8712</code></a>
Fix handling with &quot;xml:&quot; prefixed namespace (<a
href="https://redirect.github.com/ruby/rexml/issues/208">#208</a>)</li>
<li><a
href="2e1cd64f2f"><code>2e1cd64</code></a>
Optimize SAX2Parser#get_namespace (<a
href="https://redirect.github.com/ruby/rexml/issues/207">#207</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rexml&package-manager=bundler&previous-version=3.3.6&new-version=3.3.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/oss-fuzz/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 18:42:40 +11:00
Dominik Stadler e35ff32a8c
Apache poi various smaller changes (#12725)
* Update JDK 8 and 11 to latest patch-levels
* Add temporary work around for invalid dependency on log4j-bom
introduced via recent XmlBeans
* Fix presubmit-checks for Apache POI
* Print out which file fails checks in presubmit.py to aid in finding
the culprit
2024-12-30 17:47:43 +11:00
Bailey Capuano 400401daa1
zip: Updated Dockerfile for initial integration (#12880)
This pull requests integrates the Dockerfile needed to build the fuzzers
for zip, as merged into upstream
[here](https://github.com/kuba--/zip/pull/365).
2024-12-27 18:30:34 +00:00
Tristan F.-R. 9254384ec2
[pulldown-cmark] finalize (#12885)
continues https://github.com/google/oss-fuzz/pull/12594. thin is used to
counter [build
errors](db58c3153d/fuzz/README.md (L17)).
2024-12-27 18:27:50 +00:00
DavidKorczynski 770c19fab4
vscode: add fuzz introspector installation and usage (#12887)
Signed-off-by: David Korczynski <david@adalogics.com>
2024-12-27 17:45:54 +00:00
Charles Giessen deebef76c5
vulkan-loader: Use correct variable in destroy function (#12881)
Commit e17999e "fixed" the settings_fuzzer.c test by cleaning up memory,
but did not pass in the correct variable. It would reinterpret a pointer
to memory as a `loader_layer_list` struct, which is all sorts of wrong.
It doesn't help that I forcibly cast the memory pointer to the
loader_layer_list struct type, causing any warnings to be surpressed.

@DavidKorczynski 

2nd tries the charm hopefully.
2024-12-26 10:10:22 +00:00
AdamKorcz b54cb11e76
kubernetes: fix broken build (#12877)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-12-21 10:58:19 +00:00
Oliver Chang dd2aeed4f2
Update Jazzer to the latest version (Apache 2.0) (#12869)
Fixes #11652

Co-authored-by: DavidKorczynski <david@adalogics.com>
2024-12-21 10:57:40 +00:00
DavidKorczynski be6c929681
Revert "Save docker images for C/C++" (#12876)
Reverts google/oss-fuzz#12831
2024-12-20 20:08:08 +00:00
Charles Giessen e17999e560
vulkan-loader: Fix leak in settings fuzzer (#12870)
The fuzzer would leak the settings layer list if it successfully found
the layers. This creates memory leaks that aren't directly the fault of
the Vulkan-Loader project.

Co-authored-by: DavidKorczynski <david@adalogics.com>
2024-12-19 10:01:07 +00:00
DavidKorczynski e8f3e6c41e
infra: fix ci failure (#12871)
Signed-off-by: David Korczynski <david@adalogics.com>
2024-12-19 09:56:15 +00:00
AdamKorcz 35292ac78b
istio: fix broken build (#12868)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-12-18 16:03:10 +00:00
Ryan Fox-Tyler f7a14bc67e
update Dgraph project.yaml (#12775)
update email domains from dgraph.io -> hypermode.com (Hypermode acquired
Dgraph last year) and add additional engineer
2024-12-18 15:35:18 +00:00
AdamKorcz 411b8a86d5
dgraph: fix broken build (#12867)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-12-18 15:13:20 +00:00
AdamKorcz f5ece1dfc6
etcd: fix broken build (#12866)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-12-18 14:21:47 +00:00
AdamKorcz 0c42f31483
cri-o: fix broken build (#12865)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-12-18 10:25:08 +00:00