home.social

#upx — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #upx, aggregated by home.social.

fetched live
  1. Встречайте: muenvsubst — улучшенный envsubst

    Все мы любим envsubst за простоту, но он примитивен. Переходить на Python с Jinja2 ради шаблонизации конфигов в CI/CD — всё равно что стрелять из пушки по воробьям, да и тащить рантайм ради пары переменных не хочется. В мире Go есть неплохие аналоги, но их вес в 100 МБ вгоняет в тоску, когда стремишься к минимализму в Docker-образах. Теперь всё изменилось так как появился muenvsubst — замена стандартной утилите, написанная на C++17, заточенная под хардкорную шаблонизацию в инфраструктуре. В этой статье я расскажу, как уместить мощь, близкую к Jinja2 (включая циклы, условия, макросы и вызов shell), в статический бинарник весом менее 400 КБ .

    habr.com/ru/articles/1041580/

    #шаблонизатор #c++17 #upx #jinja2

  2. Low energy morning, so instead of fixing bugs I'll just add UPX packing on my docker images' binaries.

    #golang #go #upx

  3. Heap Buffer Overflow in UPX Identified

    Date: March 26, 2024
    CVE: To be assigned
    Vulnerability Type: Buffer Errors
    CWE: [[CWE-122]]
    Sources: NIST VULNDB VULNDB Submit

    Issue Summary

    A heap buffer overflow vulnerability was identified in the [[UPX|Ultimate Packer for eXecutables]] (UPX), specifically in the commit 06b0de9c77551cd4e856d453e094d8a0b6ef0d6d. This issue occurs during the handling of certain data structures, leading to potential memory corruption. The vulnerability was discovered through fuzzing techniques using the Google OSS-Fuzz project.

    Technical Key findings

    The vulnerability is caused by improper handling of input data, resulting in a heap buffer overflow. This overflow occurs in the handling of packed files during decompression, where the bounds of allocated heap memory are not properly checked.

    Vulnerable products

    • [[UPX]] version identified by commit 06b0de9c77551cd4e856d453e094d8a0b6ef0d6d.

    Impact assessment

    An attacker could exploit this vulnerability to execute arbitrary code on the target system or cause a denial of service through application crash, potentially compromising the system's integrity and availability.

    Patches or workaround

    No specific patches or workarounds were mentioned at the time of reporting. Users are advised to monitor the official [[UPX]] GitHub repository for updates.

    Tags

    #UPX #BufferOverflow #HeapOverflow #SecurityVulnerability #CVE

  4. A perda no arranque da aplicação que foi compactada pelo #upx é muito pequena. Ferramenta fantástica. :)

  5. Meine Firma verbietet mir implizit den Einsatz von #UPX, weil sie auf einen neuen Virenscanner umgestellt haben, der darauf anschlägt. 🤦‍♂️

    Kennt jemand eine Alternative?