The effects of the nuclear medium on the residue, mass, and self-energy of the positive-and negative-parity Sigma, Lambda, and Xi hyperons are investigated using the QCD sum-rule method. In the calculations, the general interpolating currents of hyperons with an arbitrary mixing parameter are used. We compare the results obtained in medium with those of the vacuum and calculate the shifts in the corresponding parameters. It is found that the shifts on the residues in nuclear matter are overall positive for both the positive- and negative-parity hyperons, except for the positive-parity Sigma hyperon which has a negative shift. The shifts on the masses of these baryons are found to be negative. The shifts on the residues and masses of negative-parity states are large compared to those of positive-parity states. The maximum shift belongs to the residue of the negative-parity Lambda hyperon. The vector self-energies gained by the positive-parity baryons are large compared to the vector self-energies of the negative-parity particles. The maximum value of the vector self-energy belongs to the positive-parity Sigma hyperon. The numerical values are compared with the existing predictions in the literature.