News for hackers. Stuff that matters.
Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by nwellnhof on Thursday February 02, 2023 @09:28AM (#34626915)
OSS-Fuzz is an amazing program. The awards are really generous (in my experience), but more importantly, continuous fuzzing enabled me to make major changes to large codebases written in C without having to worry about introducing new security issues. If you maintain an open-source project, especially one written in an unsafe language, you should definitely check it out.
Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by ArtWomb on Thursday February 02, 2023 @10:39AM (#34628057)
Google should just extend the bounty to all APKs running in the wild. That will kick off cyber sec indie research ;)

https://www.code-intelligence.com/

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by wyldfire on Thursday February 02, 2023 @11:59AM (#34629464)
At least for open source projects, there's SOS [1]. More great rewards available there.

[1] https://sos.dev/

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by UncleMeat on Thursday February 02, 2023 @12:22PM (#34629869)
Google does offer bounties on security vulns found in third-party apps on Play that have a high install base.

https://bughunters.google.com/about/rules/5604090422493184/g...

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by zX41ZdbW on Thursday February 02, 2023 @11:30AM (#34628898)
We use seven different types of fuzzing in ClickHouse, including OSS-Fuzz:

https://clickhouse.com/blog/fuzzing-click-house

And I can confirm - writing software in C++ without fuzzing is insane.

We are finding and fixing memory-safety bugs in every third-party library that we use.

For example, there are bugs in RocksDB: https://github.com/facebook/rocksdb/issues?q=is%3Aissue+clic...

Here are some bugs in JeMalloc: https://github.com/jemalloc/jemalloc/issues/2222

Strangely, these bugs were found by the CI of ClickHouse, and not by any of the hundreds of other products using these libraries.

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by SnowflakeOnIce on Thursday February 02, 2023 @03:50PM (#34632783)
Very interesting!

> Strangely, these bugs were found by the CI of ClickHouse, and not by any of the hundreds of other products using these libraries.

A lot of software projects that have "OSS Fuzz integration" have very naive or superficial fuzz harnesses that couldn't ever get thorough coverage.

If the code is never executed by the fuzzer, bugs won't be found by fuzzing.

In your case, fuzzing your application code, you likely end up executing code in those dependencies that their own fuzzers miss.

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by josephg on Thursday February 02, 2023 @03:59PM (#34632921)
I’d go further and say that writing most software without fuzz testing is insane. Fuzz testing is one of those things they should teach in school. They’re a super useful technique - up there with TDD and it’s a tragedy they aren’t more wildly used.

Fuzzers are so good because they find so many bugs relative to programmer effort (lines of code). They’re some of the most efficient testing you can do. If I had to choose between a full test suite and a fuzzer, I’d choose the fuzzer.

I use fuzzers whenever I have a self contained “machine” in my code which should have well defined behaviour. For example, a b-tree. I write little custom fuzzers each time. The fuzzing code randomly mutates the data structure and keeps a list of the expected btree content. Then periodically I verify that the list and the btree agree on what should be contained inside the list. In the project I’m working on at the moment, I have about 6 different fuzzers sprinkled throughout my testing code. (Btree fuzzer, rope fuzzer, file serialisation fuzzer, a few crdt fuzzers, and so on).

Writing fuzzers is quite devastating for the ego. Usually the first time I point a fuzzer at my code, even when my code has a lot of tests, the fuzzer throws an assertion failure instantly. “Iteration 2 … the state doesn’t match what was expected”.

Getting a fuzzer running all night without finding any bugs is a balm for the soul.

The code looks like this, if anyone is curious. Here’s a fuzzer for a rope (fancy string) implementation: https://github.com/josephg/jumprope-rs/blob/master/tests/tes...

Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by pelasaco on Thursday February 02, 2023 @10:18AM (#34627666)
less employee, more budget /s
Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by f4n4tiX on Thursday February 02, 2023 @10:56AM (#34628338)
Has anyone tried javascript fuzzing with this new jazzer.js integration? sounds interesting
Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by metzmanj on Thursday February 02, 2023 @12:19PM (#34629818)
No projects yet, but I bet we'll have some by next week.
Re:Google's OSS-Fuzz expands fuzz-reward program to $30000 by j0hnyl on Thursday February 02, 2023 @01:17PM (#34630793)
There's a cool talk from a hackerone event on using jsfuzz to find bugs in dom sanitizers.