Red Hat, Google Disclose Severe Glibc DNS Vulnerability; Patched But Widespread
An anonymous reader writes: Today Google's online security team publicly disclosed a severe vulnerability in the Gnu C Library's DNS client. Due to the ubiquity of Glibc, this affects an astounding number of machines and software running on the internet, and raises questions about whether Glibc ought to still be the preferred C library when alternatives like musl are gaining maturity. As one example of the range of software affected, nearly every Bitcoin implementation is affected.
Reader msm1267 adds some information about the vulnerability, discovered independently by security researchers at Red Hat as well as at Google, which has since been patched: The flaw, CVE-2015-7547, is a stack-based buffer overflow in the glibc DNS client-side resolver that puts Linux machines at risk for remote code execution. The flaw is triggered when the getaddrinfo() library function is used, Google said today in its advisory. "A back of the envelope analysis shows that it should be possible to write correctly formed DNS responses with attacker controlled payloads that will penetrate a DNS cache hierarchy and therefore allow attackers to exploit machines behind such caches," Red Hat said in an advisory. It's likely that all Linux servers and web frameworks such as Rails, PHP and Python are affected, as well as Android apps running glibc.
... because the proposed replacement will be bug-free, right?
-- I am. Therefore, I think!
LibreGlibC to teh rescue!
What the hell makes us think musl won't have vulnerabilities?
Oh look, yet another memory safety violation. If only a systems programming languages had been developed that eradicated this entire class of software bug.
"discovered independently by security researchers at Red Hat as well as at Google" - How does that happen, and when DID it happen?
Fold it into systemd, so we have a more modern OS. There is nothing wrong with glibc except the jerk who maintains it.
Seriously, that was the best example you could come up with from "an astounding number of machines and software"?
Isn't there something - anything - affected that more people actually care about or are impacted by?
#DeleteChrome
OpenBSD is the best replacement for Linux and GNU software, especially if you care about security. The OpenBSD developers can't write bug-free code, but when we consider the extreme care and effort they put into ensuring their code is of an extraordinarily high quality then we realize that their work is as close to bug-free as we are realistically going to get. It does make sense to switch to the best available alternative. The OpenBSD devs do everything just about as correctly as can be done. They put security first. They carefully review their own code and that of others. They will even fork code developed by others if it doesn't meet the OpenBSD standards! They don't implement bad ideas, like systemd, to begin with. They say it as it is, even if it may hurt somebody's feelings. They don't put up with bullshit, especially if it could put security at risk. They are the role models that everybody else in open source software development should follow and strive to be like.
"LibreGlibc" already exists, and has existed for ages!
You can find the source code here:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libm/
There are numerous other superb libraries, too:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/
Maybe Google and Redhat should stop just leeching of off Open Source and actually fund it all. They are literally making billions in cash off of Open Source infrastructure components every month and their contributions back are less than 1% of their profits.
Glibc? Gee, I wonder who was responsible for allowing/putting the vulnerability in the code?
Because I know it cheats, lies, steals, and snitches. I am prepared. On guard. Never taken by surprise. But this, this is just unacceptable, and outrageous.
Can someone get a list of versions that are fixed instead of bitching about that there are bugs? There are always another bug, regardless of system. If you want it bug free, then start to write new tests that tests things not yet tested.
Looks like glibc-2.22-9.fc23 and glibc-2.21-11.fc22 contains the fix.
What about other releases?
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
Doesn't the operating system already have one? The more different implementations are running on your system, the more different potential ways to fuck up there are.
Besides that, from a software design perspective, isn't DNS and networking code in general a bit outside the scope of a language runtime library?
They do fund quite a bit of it. In this particular case the glibc maintainer works for Red Hat.
All things considered I'm doing quite well for myself.
First I was saved from heart bleed heartache by using oldest still maintained branch of OpenSSL at the time.
Now I have dodged getaddrinfo apocalypse by using an old as hell version of glibc.
Personally I tend to discount c library bugs as all the ones I knew about were never practically applicable or triggerable. Not much different from processor errata. This would be the first exception I've been made aware of in quite a number of years.
>and raises questions about whether Glibc ought to still be the preferred C library when alternatives like musl are gaining maturity
What? Let's stop using a well-tested and mature platform because we found one big vulnerability for it, and instead use immature alternatives? Has everyone's brain fallen out completely or something?
I don't see any updated packages for CentOS 6 yet. Crazy...
How does it happen that two people independently notice a bug? They both run the program, and it crashes because there's a bug. They're both running the same code, so they get the same crash. It's not immediately obvious that the crash has any security impact, and if so, how severe.
In the case of Red Hat and Google, both have teams who fix bugs in Linux, so whoever notices it files a bug report for the appropriate team. At Red Hat, when it's noticed that there are potential security implications, it's sent to Florian's team. Florian's team works carefully to fully understand it, look for related issues*, and work out the BEST way to fix it. They have a pile of bugs they're working at any given time.
Over at Google, the bug was found later, but the severity of the security implications were noticed sooner, so Google found the security issue WHILE Red Hat was working through their process.
* An example of Red Hat's "find and fix the whole issue, not just the obvious part", is shell shock. After the initial CVE for shell shock, several people proposed different ways of fixing it. Florian was one, he quickly worked on it and released a proposed patch. Over the next few days there were three MORE CVEs for shell shock, covering different variations on the same theme. Florian's initial patch covered all of them, including the ones that hadn't been fully characterized when he proposed it. His approach was approved by general consensus and that's what we all use today - partly because he put in the time and effort to fix the broader issue, not just the specific case that had been identified. This approach means that sometimes it takes Red Hat a while to release a fix, but when they do, it's the right fix.
People calling for switching from glibc to musl are anti-GPL political opportunists. The Linux equivalent of gun control freaks who immediately call for stricter laws whenever there is a shooting.
And if you look at all the countries in the world, with and without strict gun control, and especially the countries that have introduced stricter gun controls than before, the facts in terms of killings (intentional and unintentional) overwhelmingly seem to support strict gun control being a very good idea. So what you are saying is that musl is a good idea?
Ha! I knew procrastination would pay off! Debian Lenny has libc 2.7, and so is not vulnerable.
*gloat*
ELBRUS, ICL and Unisys proved you wrong. That was BEFORE the C shite came into existence.
But hey, why do we need Italian cuisine after the invention of the hamburger. Everybody knows "new is better"....
That works 100% of the time except when Bad Guy has written a little evil Perl script to iterate over all servers of your Linux shitfarm.
Or in case of this bug, if bad buy has taken out a poisoned ad on NY Times, attacking your glibc DNS craptastica.
Don't use SSL. There is NO correct implementation of this crapola available. It simply is too complicated.
Use a symmetric block cipher (e.g. 3DES) and symmetric keying and be done with it. Not perfect either, but you can implement it yourself and comprehend what it does.
Send keys by enveloped snail mail.
SSL/TLS is the siren song of the Dark World.
See "free advice" above.
OpenSSL clearly was a shitty hairball with a clear objective of making the crypto effectively easy to break.
Dumping OpenSSL, dumping SSL in general and using simpler approaches (e.g. symmetric cipher and symmetric keys transported by snail mail or couriers) is the Way To Go.
IT people are often so deeply stuck in problems so that they cannot see the obvious solution. And 99,9% of IT people are gullible idiots. While believing to be exceptional.
Yeah, it makes the work of certain war industry folks harder, we know the "cyber war domain" is great business for you.
I am all for eliminating your nice little Business Domain.
But i concede you are excellent at bullshitting the world into your game. And you are excellent evil strategists. C and Unix could hardly be more evil and more conducive to your evil Bu$$ine$ Plans.
https://ipleak.net/
When is Google going to fix the bug in webrtc which gives out the users internal and real IP addresses?
If you use a VPN and Chrome click the link above to test to see if your IP address is being broadcast.
It seems that the ridiculous meme with giving vulnerabilities stupid names has finally stopped or maybe the hipsters are on vacation?
CVE-2015-7547 is all we need. This is how it would have been before:
Stupid name: GlibcBeMyValentineShock
Social media profiles for GlibcBeMyValentineShock:
Facebook
Snapchat
Tinder
Grindr
The GNU C Library has a DNS client built in? I'm not even a programmer and I think that that's retarded.
The vectors to trigger this buffer overflow are very common and can include ssh, sudo, and curl.
Holy crap, a workaround for stupid Solaris 7 bug affecting the whole sudo community.
Not true. Go read the book "More Guns, Less Crime: Understanding Crime and Gun Control Laws" by John Lott.
And don't you find it odd that when muslim immigrants commit terrorist attacks or rape women and young boys, it's downplayed and we are told we musn't judge the lot of them based on the acts of the few and that we must support mass immigration of them regardless, yet when there's any kind of shooting it's evidence that we must immediately punish all people for the acts of a few?
APK Hosts File Engine 9.0++ SR-4 32/64-bit http://start64.com/index.php?o...
-
FREE, not 'souled-out' to advertisers, adds speed, security & reliability.
Does far more w/ far less more efficiently vs. addons (clarityray blockable, redundant + RAM/CPU wasteful & 'souled-out' crippled by default) & local DNS servers @ home.
Fixes DNS' security issues & stops tracking @ webpage + DNS levels via 1 file you NATIVELY have!
(Firewalls do rest on FAR less used IP address trackers/threats vs. host-domain names).
-
Obtains data vs. online threats & ads via 10 reputable security community sites - easily edited by you using my program.
-
SPEEDS YOU UP 2 ways:
Adblocking ALL ads + local RAM cached favorite sites @ TOP of hosts for faster resolution vs. remote DNS (for reliability + speed) vs. other "so-called security 'solutions'" SLOWING YOU!
-
All via what you already have vs. illogically "bolting on browser addons 'MOAR'" (clarityray detected/blockable + usermode slow & increased messagepassing, cpu + ram overheads)
-
MalwareBytes' hpHosts Admin (MalwareBytes employee verified it's source as safe http://forum.hosts-file.net/vi... ) hosts & recommends it -> http://hosts-file.net/?s=Downl...
&
MalwareBytes = BEST antivirus per a VERY recent testing of them all http://www.av-test.org/en/news...
&
It's safe proven by 57 antivirus programs in BOTH its 64-bit model https://www.virustotal.com/en/...
+
32-bit model https://www.virustotal.com/en/...
&
Installer-> http://f.virscan.org/APKHostsF...
-
* "The premise is quite simple: Take something designed by nature & reprogram it to make it work for the body rather than against it..." - Dr. Alice Krippen: "I am legend".
APK
P.S.=> By "yours truly" - "The Lord of Hosts" so-to-speak:
"The image this title brings to mind is a mighty military commander who can at a mere word summon rank upon rank of protective power" -> https://answers.yahoo.com/ques... & THE WORD = hosts!
(Accept NO substitutes)
...apk
APK Hosts File Engine 9.0++ SR-4 32/64-bit http://start64.com/index.php?o...
-
FREE, not 'souled-out' to advertisers, adds speed, security & reliability.
Does far more w/ far less more efficiently vs. addons (clarityray blockable, redundant + RAM/CPU wasteful & 'souled-out' crippled by default) & local DNS servers @ home.
Fixes DNS' security issues & stops tracking @ webpage + DNS levels via 1 file you NATIVELY have!
(Firewalls do rest on FAR less used IP address trackers/threats vs. host-domain names).
-
Obtains data vs. online threats & ads via 10 reputable security community sites - easily edited by you using my program.
-
SPEEDS YOU UP 2 ways:
Adblocking ALL ads + local RAM cached favorite sites @ TOP of hosts for faster resolution vs. remote DNS (for reliability + speed) vs. other "so-called security 'solutions'" SLOWING YOU!
-
All via what you already have vs. illogically "bolting on browser addons 'MOAR'" (clarityray detected/blockable + usermode slow & increased messagepassing, cpu + ram overheads)
-
MalwareBytes' hpHosts Admin (MalwareBytes employee verified it's source as safe http://forum.hosts-file.net/vi... ) hosts & recommends it -> http://hosts-file.net/?s=Downl...
&
MalwareBytes = BEST antivirus per a VERY recent testing of them all http://www.av-test.org/en/news...
&
It's safe proven by 57 antivirus programs in BOTH its 64-bit model https://www.virustotal.com/en/...
+
32-bit model https://www.virustotal.com/en/...
&
Installer-> http://f.virscan.org/APKHostsF...
-
* "The premise is quite simple: Take something designed by nature & reprogram it to make it work for the body rather than against it..." - Dr. Alice Krippen: "I am legend".
APK
P.S.=> By "yours truly" - "The Lord of Hosts" so-to-speak:
"The image this title brings to mind is a mighty military commander who can at a mere word summon rank upon rank of protective power" -> https://answers.yahoo.com/ques... & THE WORD = hosts!
(Accept NO substitutes)
...apk