<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Patch on Cylon&#39;s Collection</title>
    <link>https://www.161616.top/tags/patch/</link>
    <description>Recent content in Patch on Cylon&#39;s Collection</description>
    <generator>Hugo -- 0.125.7</generator>
    <language>zh</language>
    <lastBuildDate>Mon, 02 Jun 2025 23:00:36 +0800</lastBuildDate>
    <atom:link href="https://www.161616.top/tags/patch/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CVE-2024-6387漏洞修复(Rocky9)</title>
      <link>https://www.161616.top/upgrade-openssh-in-rocky/</link>
      <pubDate>Mon, 02 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://www.161616.top/upgrade-openssh-in-rocky/</guid>
      <description>下载 openssh-9.9p 源码包 下载地址
下载之后解压看 README 和 INSTALL
text 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 libcrypto from either of LibreSSL or OpenSSL. Building without libcrypto is supported but severely restricts the available ciphers and algorithms. - LibreSSL (https://www.libressl.org/) 3.1.0 or greater - OpenSSL (https://www.openssl.org) 1.1.1 or greater LibreSSL/OpenSSL should be compiled as a position-independent library (i.e. -fPIC, eg by configuring OpenSSL as &amp;#34;.</description>
    </item>
    <item>
      <title>CentOS7&amp;Rocky9更新xz</title>
      <link>https://www.161616.top/xz-upgrade/</link>
      <pubDate>Fri, 01 Nov 2024 00:00:00 +0000</pubDate>
      <guid>https://www.161616.top/xz-upgrade/</guid>
      <description>centos&amp;amp;rocky 升级 xz，需要和目前系统对比每个xz包，和每个xz包内的文件有哪些；然后，根据不同类型的包（base, devel, lib)，三个进行打包操作。
下载curl源码包 升级至少需要更新至 xz 5.4.6 ，首先从官网下载源码包 [1]
将xz作为rpm 下面是 rpm 的规格文件
spec 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 Name: xz Version: 5.</description>
    </item>
    <item>
      <title>CentOS6/7 curl SOCKS5堆溢出漏洞修复 CVE-2023-38545 CVE-2023-38546</title>
      <link>https://www.161616.top/update-curl-8-4/</link>
      <pubDate>Fri, 13 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://www.161616.top/update-curl-8-4/</guid>
      <description>10月11日发布的 curl 8.4.0版本，在新版本中修复漏洞 CVE-2023-38545 和 CVE-2023-38546
CVE-2023-38545: This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. [1] CVE-2023-38546: This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. [2] 安装方式有两种，“编译” 与 “更新RPM”，本文以 RPM 方式更新 curl 到 8.4.0 版本
下载curl源码包 升级至少需要更新至 curl 8.4 ，首先从官网下载源码包 [3]
将curl打包为rpm 因为 curl 源码包内没有提供 rpm 的规格文件，所以我们需要自己编写，但是比较麻烦，可以让 chatgpt 生成一个，这里使用 centos7 的 curl.</description>
    </item>
    <item>
      <title>CentOS 6.8升级OpenSSH7.7p</title>
      <link>https://www.161616.top/upgrade-openssh-in-centos6/</link>
      <pubDate>Sun, 22 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://www.161616.top/upgrade-openssh-in-centos6/</guid>
      <description>近期因 centos 6.x 默认 openssh 扫描存在大量漏洞，基于安全考虑，需要将 openssh_5.3p1 升级为最新版，网上查了很多教程，发现 openssh 存在大量依赖，不解决依赖问题很难保证其他服务政策。而 openssl 又被大量程序依赖。实在是头疼。最后发现一个不破坏各种依赖又可以完美升级的方案
注：curl wget yum 等依赖 openssl gitlab依赖 openssh 因卸载 openssh 与 openssl 编译安装导致各种依赖程序被破坏，虽然最后升级成功，但是wget curl 和代码库被破坏。
下载 openssh-7.7p 源码包 下载地址
下载之后解压看 README 和 INSTALL
text 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1. Prerequisites ---------------- A C compiler. Any C89 or better compiler should work.</description>
    </item>
  </channel>
</rss>
