177 points · by todsacerdoti · 2y ago · 64 comments
https://news.ycombinator.com/item?id=40320166
To soon?
(Note I run Debian all over the place, and am generally happy with it.)
> The security team at Seznam - a Czech search engine and email provider - did not believe me when I reported this issue. They assume that as they are not actively using that key (beta._domainkey.seznam.cz), that means that it cannot be used to forge emails. This is, of course, not true.
Maybe consult a lawyer first, but the entertaining answer would surely be to tell them about the problem in an email from their own domain? (Though seriously, double-check that that's not illegal; funny isn't worth getting arrested.)
I reported the issue and the admins weren't impressed. They insisted that this wasn't a major problem since the only way to make the e-mail appear to come from somebody in the company was to use you company account (outside e-mail would be filtered correctly). After some back and forth, I just told the admin to check his mailbox. It said something like, "if you don't think this is serious, you're fired" and it was "from" the CEO, with his smiling photo next to the name.
That finally did the trick.
EDIT: typos.
That being said, a company which is that lax with reported vulnerabilities is not likely to handle "fun" well and even if what you are doing is legal, being involved in a lawsuit is no fun and probably not worth it, since, in the end, you are trying to help them.
Has this actually ever happened or been solicited? That’s an interesting thought experiment.
https://en.wikipedia.org/wiki/Calling_card_(crime)
How many people double check that apt actually updated the package to the right version, if it’s output is compromised?
Which library pulled the vulnerability in is mostly irrelevant.
The xz package was potentially vulnerable (although not in reality because "the build script was configured to only inject the bad code in Debian/Fedora based package build environments", while this was a choice by the attacker, it's still true the vulnerability wasn't there), but patching OpenSSH made OpenSSH specifically vulnerable when used with a malicious xz install.
https://archlinux.org/news/the-xz-package-has-been-backdoore...
This one was special because it lead to a massive security issue, rather than just annoyed users who had bugs only because of packaging patches.
If you do a little digging, you'll see that there was no real technical reason why your distro of choice has abandoned implementing LibreSSL[2][3], or just never implemented it at all[4]. They just somehow wanted to keep using the faulty software with exploit mitigation countermeasures[5][6]. Totally organic.
1. https://flak.tedunangst.com/post/analysis-of-openssl-freelis...
2. https://wiki.gentoo.org/wiki/LibreSSL
3. https://github.com/void-linux/void-packages/issues/20935
4. https://lwn.net/Articles/841664/
That is OK, but I heard there were lots of security issues with pips too. From one issue to maybe another ?
If you are worried, I would just recreate your keys.
https://SLSA.dev/ recommends TUF and Sigstore.dev and trusted containers for build-signing.
Someday, Twine should prompt a PyPI package uploader to sign the package before uploading it, and download it to (prime the CDN cache and) check the Publisher and Package repo signature(s) at least once.
PEP 740 does the rest of what you’ve described, however. And twine already has initial support for it, although it isn’t part of a release yet.
> If the complexity of using BIMI exceeds your desire, you must at a minimum provide for one BIMI DNS TXT record that tells everyone that your BIMI is “disabled” … just to prevent others from impersonating you.
> The TXT record for a properly disabled BIMI must look like this:
default._bimi.example.test. TXT "v=BIMI1; l=; a=;"
While, I have said it is expensive and not recommended, it is there for those trying to understand BIMI.Also how to breakdown BIMI certificates too
They did have a reason; they were running analysis on the code, and one of their tools specifically called openssl out for using uninitialized memory, which is absolutely a red flag. But not to worry; rather than blindly patching it to fix the bug, they went out of their way to go ask upstream about it, appeared to get a favorable response to their patch, and then went ahead.
comments here read differently.
Is it broken? no? then don't fix it! I find it super hard to believe this wasn't the very first supply chain attack discovery. (If anyone knows of a verified early one, I'd love to be corrected!)