Tags:
create new tag
view all tags

Bug: Calling mailnotify gives a taint error in Perl

Calling mailnotify results in the error message

Insecure dependency in connect while running with -T switch at
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/IO/Socket.pm line 114.

This is at the connect() to SMTPHOST.

The strange thing: mailnotify worked a few days ago. Perl was not upgraded. I don't know why this error suddenly appears and wasn't there previously.

Test case

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE 9.0
Web server: Apache 1.3.28-77
Perl version: 5.8.1
Client OS:  
Web Browser:  

-- JoachimSchrod - 15 Jun 2005

Impact and Available Solutions

Follow up

This also happens when one registers a new account on a freshly installed TWiki, using TWikiRegistrationPub. That registration wants to send an email and runs into the same error.

-- JoachimSchrod - 12 Oct 2005

Fix record

This may be just a workaround and not the real fix; I don't know if you have a general concept of untainting preference variables.

Discussion

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff Net.pm.diff r1 manage 0.7 K 2005-06-15 - 09:34 UnknownUser  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-10-12 - JoachimSchrod
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.