Coder Social home page Coder Social logo

Comments (7)

hjr3 avatar hjr3 commented on June 15, 2024 1

I decided to pick up the work where @vhbit left off and get the final patch into mio. I wanted to write a test case for this too and could not for the life of me get the event loop to detect a message sent with MSG_OOB. Finally, it dawned on me that maybe this was patched by Apple themselves. Lo and behold, https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1105 documents the fix.

We should update the documentation to warn people that the TCP implementation in the kernel in Apple iOS before 8.3, Apple OS X before 10.10.3, and Apple TV before 7.2 does not properly implement the Urgent (aka out-of-band data) mechanism, which allows remote attackers to cause a denial of service via crafted packets.

from mio.

rrichardson avatar rrichardson commented on June 15, 2024

This is awesome. I heartily agree that we should force the distinction between READ events and OOB events.

from mio.

carllerche avatar carllerche commented on June 15, 2024

👍 are you interested in working on this? It probably should be part of ReadHint?

Also, it may just be better to disable out of band data by default? It looks like this can be done with a sockopt: SO_OOBINLINE

from mio.

saghul avatar saghul commented on June 15, 2024

@carllerche FWIW, that's how we "fixed" it on libuv.

from mio.

vhbit avatar vhbit commented on June 15, 2024

@carllerche yep, if it's not a rush, I can work on it around Tuesday or
Wednesday (as Easter is coming to my part of the world)

from mio.

carllerche avatar carllerche commented on June 15, 2024

@vhbit looking forward to this :)

from mio.

carllerche avatar carllerche commented on June 15, 2024

Given that this issue has been patched by apple in all versions of OS X 10.10 and greater (which is pretty old at this point), and the worst case scenario is that the process locks, it seems to me as it is safe to close this.

from mio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.