[Dnsmasq-discuss] Important: security patch process.
Simon Kelley
simon at thekelleys.org.uk
Wed Nov 25 16:02:18 UTC 2026
The new era of AI means that there are a lot of security reports
being generated for dnsmasq at the moment. Dnsmasq is not unique in
this, every Open Source maintainer I talk too is drowning in
security bug reports.
I'm not currently keeping on top of the flow, partly for personal
reasons and partly because dealing with and fixing such reports is hard
and unrewarding work. I'm planning to do better going forward.
The full process for handling serious security bugs involves receiving
bug reports under embargo, generating and testing fixes, also under
embargo, distributing the fixes to trusted parties such as distros, and
finally making a co-ordinated public release. To reduce the mount of
churn, this is normally done on a set of as many security bugs as can be
collected at one time. Ideally there should also be analysis of existing
stable releases, and patches for those should included as necessary.
The above process is what was done leading up to the 2.73 release.
Frankly, doing that again is not practicable and I've had to evolve
a more streamlined approach to have any chance of keeping up. I'm
outlining this system here so that list members know what's happening
and so I can refer to this post in the archive when replying to new
reports so that reporters know what's going on.
On getting a bug report I will now do the following.
1) Acknowledge the report and ask for permission from the reporter to
make it public.
2) Generate a fix or validate any fix provided by the reporter.
3) Once permission to go public is received, commit the fix the master
branch in git, with credit to the reporter in the changelog. No-one I've
asked has refused permission so far, I guess the only time that might
happen is if the reporter and I disagree on what is a catastrophic
problem. (see below)
4) For minor problems, that's it. For non-minor problems, either I, or
(preferably) the reporter will ask for a CVE or equivalent to be allocated.
5) Since CVEs will appear after the fix has committed, I will maintain a
database mapping CVEs to git commit(s) which fix the CVE and a change to
that database will be committed when I know what the CVE number is.
6) Only in the case of catastrophic security problems will the
embargo-then-public-release process be used.
I'm aware that isn't ideal, but forgoing embargo has advantages and,
frankly, if the good guys and Claude code can find these bugs, so can
the bad guys and Claude code, so the protection of embargo is illusory.
The advantages are that it will save me labour, distro maintainers and
similar will get information in a more timely fashion allowing them to
generate backport fixes, and the fixes get public exposure and testing,
reducing the risk that stable releases of previously-embargoed patches
represent.
Simon.
More information about the Dnsmasq-discuss
mailing list