Your message dated Sat, 13 Feb 2021 13:22:12 +0000
with message-id <[email protected]>
and subject line Bug#949400: Removed package(s) from unstable
has caused the Debian Bug report #758971,
regarding byte-compiled files have wrong permissions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
758971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758971
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: guile-2.0
Version: 2.0.11+1-1
Tags: security

Guile automatically byte-compiles programs when they are run, and
places the byte-compiled file in a subdirectory of
$HOME/.cache/guile/.

However, the permissions of the byte-compiled file are derived from
umask rather than the permissions of the source file. This means that
sensitive data (e.g. a hard-coded password) contained in a source file
with restrictive permissions will be copied into a byte-compiled file
that may be world-readable.

Guile should ensure that the permissions of byte-compiled files match
those of the source.

Example:

$ touch myscript

$ chmod 700 myscript             # source file readable only to owner

$ cat >> myscript <<'EOF'
#!/usr/bin/guile \
-e main -s
!#

(define secret-password "DEADBEEFDEADBEEF")

(define (main args)
  (display "this program contains an embedded secret")
  (newline))
EOF

$ ./myscript
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/rwp/./myscript
;;; compiled /home/rwp/.cache/guile/ccache/2.0-LE-4-2.0/home/rwp/myscript.go
this program contains an embedded secret

$ ls -l ~rwp/.cache/guile/ccache/2.0-LE-4-2.0/home/rwp/myscript.go
-rw-r--r-- 1 rwp rwp 456 Jul 1 12:00 /home/[...]/myscript.go

# ^^ Note that the byte-compiled file is world-readable

$ strings ~rwp/.cache/guile/ccache/2.0-LE-4-2.0/home/rwp/myscript.go
[...]
DEADBEEFDEADBEEF
secret-password
[...]

--- End Message ---
--- Begin Message ---
Version: 2.0.13+1-5.4+rm

Dear submitter,

as the package guile-2.0 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/949400

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to