Join the community today
Become a Member

Safe way to upgrade curl

Discussion in 'System Administration' started by amin, Nov 5, 2015.

Tags:
  1. amin

    amin Member

    37
    6
    8
    Oct 11, 2014
    Ratings:
    +7
    Local Time:
    7:37 AM
    Katest
    Latest
    Hi,
    WHMCS is showing me this alert:
    You currently have version 7.19.7 of cURL installed. This version is known to have security issues.

    Whats the safest way to upgrade? Is it recommended?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,138
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    2:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    CentOS curl backports security fixes into same 7.19 version number so it isn't same as 7.19 from curl sources. However, WHMCS seems to pick up on just version number see System Health and Updates says system cron tasks have not been ran but they have - Page 2

    To update curl/libcurl on CentOS, Centmin Mod 123.09 betas has a customcurl.sh addon script to update to curl/libcurl 7.45 (current latest) as outlined at Beta Branch - Centmin Mod curl 7.43+ custom rpms | Centmin Mod Community

    Technically, you can run this on Centmin Mod 123.08 stable releases too as Centmin Mod addons are standalone scripts. The Centmin Mod 123.09 beta's addon/customcurl.sh addon is located here.

    However, as outlined at official discussion thread Beta Branch - Centmin Mod curl 7.43+ custom rpms | Centmin Mod Community this is beta so I take no responsibility if it breaks anything as curl/libcurl is crucial to the entire server CentOS environment and it's operation.

    I'd test this on test VPS/server, until you are satisfied that it works for your needs :)
     
  3. amin

    amin Member

    37
    6
    8
    Oct 11, 2014
    Ratings:
    +7
    Local Time:
    7:37 AM
    Katest
    Latest
    as it is safe to use the current version, so I prefer to wait for your next Centminmod release :)

    Thank you Eva :)
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,138
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    2:07 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. amin

    amin Member

    37
    6
    8
    Oct 11, 2014
    Ratings:
    +7
    Local Time:
    7:37 AM
    Katest
    Latest
    I got this error:

    ./customcurl.sh
    ./customcurl.sh: line 4: syntax error near unexpected token `newline'
    ./customcurl.sh: line 4: `<!DOCTYPE html>'
    You have new mail in /var/spool/mail/root
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,138
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    2:07 PM
    Nginx 1.13.x
    MariaDB 5.5