by jashkenas · 14y ago · 0 comments
> By default, CouchDB prior to version 1.2.0
> makes [the /_users] database world-readable.
Note that the current stable version of CouchDB is 1.1.1.I assume that "world-readable" in this case also means world-readable over HTTP, if your Couch server isn't firewalled.
Update: If you've already filled out npm's "reset password" form, but haven't received an email yet, @isaacs says that the email bot might be backlogged by a couple hours.
Deliberate passing the buck or accidental bad choice of words?
Deliberately exposing anything to the web should come with lots of... wait for it... deliberation. The npm guy is a core community member; this incident shows a lot of sloppiness and doesn't inspire faith.
There isnt any confusion over 'sensible defaults' because sensible defaults dont really exist, the way people use CouchDB is very varied, if you are going to expose any data to the world you need to know what that entails, in this case I believe it was done to help people run their own npm instance and couch introduced new functionality in order to handle that case in a more secure way.
tl;dr I dont believe this is a couch issue in the slightest, purely an issue with how npm was built
tl;dr I dont believe this is a couch issue in the slightest
That seems like a slightly generous interpretation...
If you want to expose anything, you have to do it very explicitly and as linked there are warnings and advice about doing so.