Debian: metrics insecure tmp file creation vulnerability

    Date 07 Apr 2003
    2354
    Posted By LinuxSecurity Advisories
    Two scripts in the metrics package, "halstead" and "gather_stats", open temporary files without taking appropriate security precautions.
    
    - --------------------------------------------------------------------------
    Debian Security Advisory DSA 279-1                     This email address is being protected from spambots. You need JavaScript enabled to view it. 
    https://www.debian.org/security/                             Martin Schulze
    April 7th, 2003                          https://www.debian.org/security/faq
    - --------------------------------------------------------------------------
    
    Package        : metrics
    Vulnerability  : insecure temporary file creation
    Problem-Type   : local
    Debian-specific: no
    CVE Id         : CAN-2003-0202
    
    Paul Szabo and Matt Zimmerman discoverd two similar problems in
    metrics, a tools for software metrics.  Two scripts in this package,
    "halstead" and "gather_stats", open temporary files without taking
    appropriate security precautions.  "halstead" is installed as a user
    program, while "gather_stats" is only used in an auxiliary script
    included in the source code.  These vulnerabilities could allow a
    local attacker to overwrite files owned by the user running the
    scripts, including root.
    
    The stable distribution (woody) is not affected since it doesn't
    contain a metrics package anymore.
    
    For the old stable distribution (potato) this problem has been fixed
    in version 1.0-1.1.
    
    The unstable distribution (sid) is not affected since it doesn't
    contain a metrics package anymore.
    
    We recommend that you upgrade your metrics package.
    
    
    Upgrade Instructions
    - --------------------
    
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    
    
    Debian GNU/Linux 2.2 alias potato
    - ---------------------------------
    
      Source archives:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1.dsc
          Size/MD5 checksum:      527 8e0a5e5a4897f6748669dcbcf98c5502
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1.diff.gz
          Size/MD5 checksum:     5171 b22998c91bbf809a44097f4fd6b5c83e
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0.orig.tar.gz
          Size/MD5 checksum:    77716 b5c03baa70c6826b27dcababe81f4259
    
      Alpha architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_alpha.deb
          Size/MD5 checksum:    50216 3599a7ae7e2fe985970766e3b1143a52
    
      ARM architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_arm.deb
          Size/MD5 checksum:    44056 ea4b7cebada6b730acabe45b568b2eda
    
      Intel IA-32 architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_i386.deb
          Size/MD5 checksum:    42942 a9d3846fae94cc5b805b8ed8ec4ee514
    
      Motorola 680x0 architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_m68k.deb
          Size/MD5 checksum:    41778 4eb48f051e430fb72884d1212a9ad415
    
      PowerPC architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_powerpc.deb
          Size/MD5 checksum:    44054 6a24a7813b1707ad1176b636e9b1db0b
    
      Sun Sparc architecture:
    
         https://security.debian.org/pool/updates/main/m/metrics/metrics_1.0-1.1_sparc.deb
          Size/MD5 checksum:    51932 4252be7738d1a6eb4a3333d86e386d5a
    
    
    - ---------------------------------------------------------------------------------
    For apt-get: deb  https://security.debian.org/ stable/updates main
    For dpkg-ftp:  ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and  https://packages.debian.org/
    
    

    LinuxSecurity Poll

    Do you feel that the Lawful Access to Encrypted Data Act, which aims to force encryption backdoors, is a threat to US citizens' privacy?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/30-do-you-feel-that-the-lawful-access-to-encrypted-data-act-which-aims-to-force-encryption-backdoors-is-a-threat-to-privacy?task=poll.vote&format=json
    30
    radio
    [{"id":"106","title":"Yes - I am a privacy advocate and I am strongly opposed to this bill.","votes":"19","type":"x","order":"1","pct":95,"resources":[]},{"id":"107","title":"I'm undecided - it has its pros and cons.","votes":"1","type":"x","order":"2","pct":5,"resources":[]},{"id":"108","title":"No - I support this bill and feel that it will help protect against crime and threats to our national security. ","votes":"0","type":"x","order":"3","pct":0,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
    bottom 200

    Advisories

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.