It's sad to see open source project shipping closed source binaries. 🤮 It goes against best practices because it prioritizes the attackers over the users. Attackers will reverse engineer an executable and bindiff it to find the patch, and possibly find code paths that the initial patch missed. The users will be left in the dark about what was wrong, what was fixed, and whether the patch really fully addresses the issue or not. With the exception of the full-disclosure crowd, the infosec industry agrees that it's best to keep the details under embargo until the patch is written and tested, then release the patch (binary and source) along with all of the details. The industry has been facing this problem since at least the 90s. It's extremely well understood and we have decades of evidence that led us to this conclusion. Some exceptionally critical software projects post a notice saying that a security update will be released at a given date and time (in UTC) along with how severe the vulns are that are being patched. OpenSSH does this. This allows users to be ready for when the patch drops. The outliers in the industry advocate for full disclosure before a patch is available, sometimes including an exploit to demonstate the issue is real and to allow people to test their mitigations and patches. Linux does this. Opinions vary about whether it's appropriate to publish an exploit at the same time as the patch (or at all). Opinions also vary about how long developers should get to fix the issues before the person who found the issue tells the users directly. It used to be 90 days and then the details drop whether there's a patch or not. There's been a push for shorten this to 30 days. If you are a developer in any open source projects, please do security disclosures properly. If you don't believe me saying this is how its done, just look at how the open source projects who power the majority of the internet handles these things. By hiding the details from the very users you're supposed to be serving, you're putting your project's reputation on the line. Vulnerabilities happen, nobody should fault you for that (unless they're happening non-stop...), but we will fault you for how you handle it after you find out about them.
thoughtcrimeboss's avatar thoughtcrimeboss
shut down your core lightning nodes.... https://x.com/callebtc/status/2092683963366064550
View quoted note →

Replies (3)

The reasoning makes sense until you remember that they have advised all nodes be shut off in advance of the version with the fixes becoming available. I do respect that the closed binary is a temporary embargo signed by the same keys so people can at least validate the source.
Yeah, and I'd be totally cool with a "go into offline mode until this patch drops next Tuesday at noon UTC" It'd address their concerns about people who have money on the line and are still slow to patch for some reason.
There isn't a single, centralized authority on the topic, but each organization has pretty similar guidelines. I just took a quick skim of the guide available from OWASP and it looks pretty good: It covers the perspective of the security researchers and the vendors well. It is a bit lacking in the user/sysadmin perspective, but their perspective on that is basically just "get security patches ASAP", which is reasonable. They don't really speak to the topic of independent verification (e.g. someone outside the project, who was not the original reporter, verifying the issue and that the patch is correct and complete). This was likely omitted because it's only worth the effort in high stakes situations (such as financial or weapons systems). If you'd like to see what some other sources have to say on the topic, there's also NIST and CISA. And yes, it is scattered and confusing. If you have any questions, let me know. I've been a security researcher for a long time. I also try to note when there is not consensus in the community, and what the different schools of thought are in those situations.
↑