summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-17 10:06:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-17 17:11:40 +0200
commit933c61e4fcfcc2cfcd0fc03bcb34deb251a98dd5 (patch)
tree121aea22c5715391bcd97cc12676eb7971eb29cf /docs
parentd7cc6e2c66013920685e9447b9e221b50bff88f0 (diff)
downloadcurl-933c61e4fcfcc2cfcd0fc03bcb34deb251a98dd5.tar.gz
libcurl-security.3: mention file descriptors and forks
... and move the security report section last. Reported-by: Harry Sintonen Closes #7270
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/libcurl-security.317
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/libcurl/libcurl-security.3 b/docs/libcurl/libcurl-security.3
index 3b868e75e..b83112f2a 100644
--- a/docs/libcurl/libcurl-security.3
+++ b/docs/libcurl/libcurl-security.3
@@ -351,10 +351,6 @@ enabled by applications that fail to properly validate server TLS/SSL
certificates, thus enabling a malicious server to spoof a legitimate
one. HTTPS without validated certificates is potentially as insecure as a
plain HTTP connection.
-.SH "Report Security Problems"
-Should you detect or just suspect a security problem in libcurl or curl,
-contact the project curl security team immediately. See
-https://curl.se/dev/secprocess.html for details.
.SH "Showing What You Do"
Relatedly, be aware that in situations when you have problems with libcurl and
ask someone for help, everything you reveal in order to get best possible help
@@ -383,3 +379,16 @@ that the user is otherwise not able to view (like credentials for a login
etc), it should be noted that libcurl still might understand proxy environment
variables that allow the user to redirect libcurl operations to use a proxy
controlled by the user.
+.SH "File descriptors, fork and ntlm_wb"
+An application that uses libcurl and invokes `fork()` will get all file
+descriptors duplicated in the child process, including the ones libcurl
+created.
+
+libcurl itself uses `fork()` and `execl()` if told to use the
+`CURLAUTH_NTLM_WB` authentication method which then will invoke the helper
+command in a child process with file descriptors duplicated. Make sure that
+only the trusted and reliable helper program is invoked!
+.SH "Report Security Problems"
+Should you detect or just suspect a security problem in libcurl or curl,
+contact the project curl security team immediately. See
+https://curl.se/dev/secprocess.html for details.