frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Web browser add-on that prevents YouTube's automatic translations

https://github.com/YouG-o/YouTube-No-Translation
1•faust201•14s ago•0 comments

U.S. Export Promotion Executive Order "AI Stack"

https://www.hyperdimensional.co/p/dont-overthink-the-ai-stack
1•walterbell•1m ago•0 comments

Making Democracy Work: Fixing and Simplifying Egalitarian Paxos

https://arxiv.org/abs/2511.02743
1•otrack•2m ago•0 comments

Ask HN: What do you hate about hiring?

1•dark7•4m ago•0 comments

Vigilante Lawyers Expose the Rising Tide of A.I. Slop in Court Filings

https://www.nytimes.com/2025/11/07/business/lawyers-ai-vigilantes.html
1•pretext•6m ago•1 comments

Ask HN: I know how to build it, now I want to break it

1•indiedev_001•14m ago•0 comments

The hidden trust problem in API formats

https://apichangelog.substack.com/p/the-hidden-trust-problem-in-api-formats
1•bpedro•15m ago•0 comments

Largest spider web hosts two solitary species of spiders

https://www.scientificamerican.com/article/worlds-largest-spider-web-discovered-in-bizarre-sulfur...
1•mighty_plant•16m ago•0 comments

Blocking AI Notetakers

https://old.reddit.com/r/sysadmin/comments/1oqzqqg/blocking_ai_notetakers/
2•taubek•18m ago•0 comments

Show HN: Threads Media Downloader

https://chromewebstore.google.com/detail/threads-media-downloader/hcheccflijdeknphebbpjdipidinacln
1•qwikhost•19m ago•1 comments

Ask HN: Do any OLAP databases pass sqllogictest suite?

1•rustic-indian•20m ago•0 comments

Async QUIC and HTTP/3 made easy: Tokio-quiche is now open-source

https://blog.cloudflare.com/async-quic-and-http-3-made-easy-tokio-quiche-is-now-open-source/
1•the_arun•22m ago•0 comments

Promptingpicks

https://promptingpicks.com
1•chrisian12•23m ago•0 comments

Ask HN: Is everyone only hiring senior developers? And is it because of AI?

5•elcapithanos•26m ago•2 comments

Show HN: Free open-source file scanner (pompelmi)

https://github.com/pompelmi/pompelmi
1•SonoTommy•26m ago•0 comments

What I Learned from the 'New Globalists' of an Optimistic Vietnam

https://www.nytimes.com/2025/11/08/world/asia/what-i-learned-from-the-new-globalists-of-an-optimi...
1•mmooss•30m ago•0 comments

Founders/Hiring managers, what do you hate about hiring?

1•dark7•32m ago•0 comments

What nobody tells you about product intuition

https://akkshaya.blog/2025/11/08/what-nobody-tells-you-about-product-intuition/
1•akkshu92•34m ago•1 comments

Ask HN: Windows/Linux software that has no real equivalent on macOS?

2•fastily•37m ago•2 comments

Denmark's government aims to ban access to social media for children under 15

https://www.thehindu.com/news/international/denmarks-government-aims-to-ban-access-to-social-medi...
2•methuselah_in•37m ago•1 comments

Best Digital Marketing Course in Prayagraj – Ndmit – Government Approved Insti

https://ndmit.com/digital-marketing-course-in-prayagraj/
1•karan868•39m ago•0 comments

Automatic Apple Watch WiFi sync to be removed in the EU

https://www.wareable.com/apple/apple-watch-wi-fi-syncing-watchos-26-2-european-union
1•aquir•40m ago•0 comments

Ups grounding MD-11 planes following deadly Kentucky crash

https://apnews.com/article/ups-plane-crash-explosion-kentucky-md11-32f96f28019c286031befe6d05bb424f
2•petethomas•45m ago•0 comments

The Invisible Hand of Gerontocracy

https://terminaldrift.substack.com/p/the-invisible-hand-of-gerontocracy
2•boopity2025•49m ago•1 comments

Nested Learning – A new ML paradigm for continual learning

https://research.google/blog/introducing-nested-learning-a-new-ml-paradigm-for-continual-learning/
1•badmonster•50m ago•0 comments

A Detailed M&A Journey Selling My Company

https://thefoundersmanual.beehiiv.com/p/my-m-a-journey-selling-classhook
1•adeeb•51m ago•0 comments

Decentralized Internet and Privacy Devroom at FOSDEM 2026

https://decentral.community/FOSDEM2026/
2•opengears•51m ago•0 comments

Training YOLO vision models on Kaggle datasets

https://github.com/mfranzon/yolo-training-template
1•walterbell•51m ago•0 comments

'A perfect coincidence': rare red lightning captured in New Zealand skies

https://www.theguardian.com/global/2025/oct/22/red-lightning-new-zealand-red-sprites
2•tobr•59m ago•0 comments

A.I. Sweeps Through Newsrooms, but Is It a Journalist or a Tool?

https://www.nytimes.com/2025/11/07/business/media/ai-news-media.html
4•mmooss•1h ago•0 comments
Open in hackernews

CRLF Injection in `–proxy-header` allows extra HTTP headers (CWE-93)

https://hackerone.com/reports/3133379
11•oblivionsage•5mo ago

Comments

blueflow•5mo ago
Check the man-page first. You need to know how a program is supposed to behave before you can know that an observed behavior is off-spec and warrants a bug.
robertlagrant•5mo ago
I don't understand the "This is not supposed to happen". Can someone explain?

To me this is the same as

  --proxy-header "X-Test: hello" --proxy-header "X-Evil: owned"
flotzam•5mo ago
Imagine running

  curl --proxy-header "X-Test: $UNTRUSTED_USER_INPUT"
wang_li•5mo ago
That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.
flotzam•5mo ago
People still expect an API to reject illegal values. Calling the parameter --proxy-header (singular) could lead someone to assume that multiline strings are illegal values, even if there's a note in the docs somewhere saying otherwise.
blueflow•5mo ago
Then the people assuming random things without doing research are to blame, not curl.
flotzam•5mo ago
Apportioning blame doesn't get rid of bugs; misuse resistant APIs do.
blueflow•5mo ago
Reading docs ("research") is essential part of engineering.

Lets ask the question reversed: How did people know in the first place what kind of string they need to give to --proxy-header?

flotzam•5mo ago
> Reading docs ("research") is essential part of engineering.

Sure, but so is safety engineering. Making mechanisms more obvious to use correctly or fail safe if used incorrectly improves outcomes when flawed human beings use them. It also makes them more pleasant to use in general.

Besides, look at the man page in question. It's talking about this in terms of encoding niceties and doesn't even spell out the possibility of deliberate, let alone malicious multiline values:

"curl makes sure that each header you add/replace is sent with the proper end-of-line marker, you should thus not add that as a part of the header content: do not add newlines or carriage returns, they only mess things up for you."

That's inducing a wrong/incomplete mental model of how this parameter works.

blueflow•5mo ago
> doesn't even spell out the possibility of deliberate, ... multiline values

It does for me, as any kind of extra newlines results in a multi-line string.

> ... malicious ...

Like Daniel said, garbage in, garbage out. If you pass user inputs to curl, one should check what curl does with these values and take proper care.

robertlagrant•5mo ago
> do not add newlines or carriage returns, they only mess things up for you

I disagree, but I would say that curl might as well add this as a validation check than a documentation warning.

blueflow•5mo ago
This is explained in the ticket:

  One of the reasons we still allow that is that this "feature" was used quite deliberately by users in the past and I have hesitated to change that for the risk that it will break some users use cases.
robertlagrant•5mo ago
Yes, I'm not sure if I agree with this or not. Those users don't have to upgrade. But obviously I'm not maintaining a key tool for the world. It's just my opinion.
soraminazuki•5mo ago
One shouldn't construct shell commands from untrusted user input in the first place unless they know exactly what they're doing and is aware of all the pitfalls. It's the worst possible tool to be using if the aim is to avoid security issues with minimal effort. Debating about this particular curl quirk distracts from the bigger issue IMO.
robertlagrant•5mo ago
> That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.

But that could just contain the bad header only, could it not?

jeroenhd•5mo ago
I suppose it kind of depends. I agree with the curl team here that this is a case of garbage in/garbage out, but I can imagine this going wrong with a binary protocol like HTTP2 on the front and a text protocol like HTTP 1.1 behind a reverse proxy. The \r\n will make it to the proxy as a separate header, but will be turned into two headers on the upstream.

That said, this would be a (reverse) proxy vulnerability, not one in curl.

ale42•5mo ago
I'm not sure where is the security issue here. As already noted, one can just put several --proxy-header arguments, so the functionality is equivalent.

The only way this would do something unexpected (and not necessarily dangerous besides breaking the service) would be if the curl command would be used in a scenario like: (1) curl is used by some script to access some API or other URL, (2) a user can configure the script to give a specific value to an header, let's say an authentication token or similar, but the user can't directly alter the curl command (e.g. because they can only change URL and TOKEN with a web interface). Here the user would be able to add an header IF the script is not properly sanitizing the input (so the supposed security issue IMHO would be in the script), but if adding an additional header breaks security, the underlying system has a problem too...

In a very far-stretched scenario, one can possibly add two CRLFs and have the rest of the header (if any) considered by the server as data. IF the request is a POST/PUT/... request, and IF the server returns (or allows later access to) the data, and IF the attacker manipulating the supposedly-restricted single-header can see the output of the call (or retrieve the saved data), then we'd have an information disclosure issue. Would it disclose anything sensitive? Not sure, unless there's an auth token or something AFTER the header. And again, I'd rather incriminate the curl caller for not sanitizing the input if this happens.