• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Resolved How to update cURL on CentOS 7.9.2009 (Core) and Plesk Obsidian 18.0

raphael_suporte

Basic Pleskian
I have the following warning message on my WHMCS:

"You currently have version 7.29.0 of cURL installed. This version is known to have security issues. Update to the latest cURL and make sure it is greater than: last_bad_version."

...how can I solve? Since I already tried to update the cURL by running the command - yum update curl
 

Attachments

  • WHMCS-Status-do-Sistema.png
    WHMCS-Status-do-Sistema.png
    20.5 KB · Views: 20
Plesk does not provide the 'curl' package but depends on the 'curl' package shipped by the operating system vendor.

The only way to update the base cURL version is to use a 3rd-party repository. However, it may result in OS package manager malfunction, is not recommended by the OS vendor and should be applied at your own risk, since this operation is not managed by Plesk.

In case you still want to proceed with it, here are the steps (creating a server snapshot beforehand is strongly recommended):
  • Create a city-fan.org yum repository file:
    Code:
    # touch /etc/yum.repos.d/city-fan.repo
  • Open the created file /etc/yum.repos.d/city-fan.repo in any text editor and put the content below in it:
Code:
[CityFan]name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
  • Enable the EPEL repository:
    Code:
    # yum install epel-release -y
  • Rerun the update:
    Code:
    # yum install curl libcurl
  • Verify the version:
    Code:
    # curl --version
  • Restart all cURL dependent services:
Code:
# service sw-engine restart# service sw-cp-server restart
# service php-fpm restart
# service plesk-phpXX-fpm restart (replace XX with version)
# service httpd restart
# service nginx restart
 
One should hope that for centos, like debian, security patches are backported. So that warning might be misleading.
A hint of this would be if the package is much newer than the security advisory.
 
Plesk does not provide the 'curl' package but depends on the 'curl' package shipped by the operating system vendor.

The only way to update the base cURL version is to use a 3rd-party repository. However, it may result in OS package manager malfunction, is not recommended by the OS vendor and should be applied at your own risk, since this operation is not managed by Plesk.

In case you still want to proceed with it, here are the steps (creating a server snapshot beforehand is strongly recommended):
  • Create a city-fan.org yum repository file:
    Code:
    # touch /etc/yum.repos.d/city-fan.repo
  • Open the created file /etc/yum.repos.d/city-fan.repo in any text editor and put the content below in it:
Code:
[CityFan]name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
  • Enable the EPEL repository:
    Code:
    # yum install epel-release -y
  • Rerun the update:
    Code:
    # yum install curl libcurl
  • Verify the version:
    Code:
    # curl --version
  • Restart all cURL dependent services:
Code:
# service sw-engine restart# service sw-cp-server restart
# service php-fpm restart
# service plesk-phpXX-fpm restart (replace XX with version)
# service httpd restart
# service nginx restart


The URL provided is not working anymore. Do you know a different URL where I can get the update for cURL? Is anyone knows a different URL? Thank you
 
Back
Top